Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8943/0.8943, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 66.47 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1934, allocations: 85.91 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003734/0.1971, allocations: 1.699 MB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000897/0.198, allocations: 418.9 kB / 0.7045 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1981, allocations: 4 kB / 0.7045 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1982, allocations: 7.875 kB / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.1983, allocations: 23.78 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1988, allocations: 130.4 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.199, allocations: 107.6 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1992, allocations: 35.91 kB / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.1992, allocations: 35.92 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.1993, allocations: 47.77 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1994, allocations: 8 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1995, allocations: 59.95 kB / 0.7049 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.1996, allocations: 23.91 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1996, allocations: 39.8 kB / 0.705 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.2, allocations: 131.5 kB / 0.7051 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2, allocations: 4 kB / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2, allocations: 0 / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.2, allocations: 0 / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007129/0.2007, allocations: 345.8 kB / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2008, allocations: 8.031 kB / 0.7054 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.2008, allocations: 42.73 kB / 0.7055 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.2011, allocations: 28.83 kB / 0.7055 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.2014, allocations: 142.3 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.2015, allocations: 59.97 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2015, allocations: 4.375 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.2018, allocations: 108.1 kB / 0.7058 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2018, allocations: 0 / 0.7058 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2018, allocations: 8 kB / 0.7058 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2018, allocations: 0 / 0.7058 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.2021, allocations: 87.88 kB / 0.7059 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.2028, allocations: 347.6 kB / 0.7062 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.2033, allocations: 134.6 kB / 0.7064 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.2035, allocations: 32.84 kB / 0.7064 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2035, allocations: 7.938 kB / 0.7064 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2035, allocations: 38.55 kB / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2035, allocations: 0 / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004537/0.204, allocations: 133.5 kB / 0.7066 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.204, allocations: 59.34 kB / 0.7066 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2042, allocations: 147.8 kB / 0.7068 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.2042, allocations: 25.7 kB / 0.7068 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.2043, allocations: 100.2 kB / 0.7069 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2043, allocations: 31.77 kB / 0.7069 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.2043, allocations: 17.72 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2045, allocations: 322.8 kB / 0.7072 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2046, allocations: 27.98 kB / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2047, allocations: 45.69 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.2049, allocations: 81.62 kB / 0.7074 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2049, allocations: 3.984 kB / 0.7074 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002681/0.2052, allocations: 105.6 kB / 0.7075 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2052, allocations: 11.94 kB / 0.7075 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2052, allocations: 0 / 0.7075 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2052, allocations: 3.938 kB / 0.7075 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2054, allocations: 27.92 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2054, allocations: 0 / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.2055, allocations: 12.02 kB / 0.7075 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2055, allocations: 4 kB / 0.7076 GB, free: 11.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.2056, allocations: 113.8 kB / 0.7077 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.2056, allocations: 7.953 kB / 0.7077 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.2056, allocations: 12.72 kB / 0.7077 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2056, allocations: 7.922 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.2057, allocations: 4 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2057, allocations: 0 / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.2059, allocations: 176.6 kB / 0.7079 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2059, allocations: 4 kB / 0.7079 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.206, allocations: 15.98 kB / 0.7079 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2061, allocations: 4 kB / 0.7079 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2061, allocations: 4 kB / 0.7079 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2061, allocations: 7.875 kB / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2061, allocations: 0 / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.2064, allocations: 208 kB / 0.7081 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.2064, allocations: 7.953 kB / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2064, allocations: 0 / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2066, allocations: 15.92 kB / 0.7081 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.2066, allocations: 3.984 kB / 0.7081 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2067, allocations: 8 kB / 0.7081 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.2067, allocations: 107.2 kB / 0.7082 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2067, allocations: 0 / 0.7082 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002899/0.207, allocations: 16 kB / 0.7082 GB, free: 11.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006666/0.2077, allocations: 0.7397 MB / 0.709 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.208, allocations: 67.95 kB / 0.709 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.208, allocations: 3.938 kB / 0.709 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.2081, allocations: 35.97 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2085, allocations: 32.36 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.2106, allocations: 1.567 MB / 0.7106 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.2109, allocations: 0.6924 MB / 0.7113 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.927e-05/0.211, allocations: 12.66 kB / 0.7113 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.2111, allocations: 23.44 kB / 0.7113 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.2111, allocations: 0 / 0.7113 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.2404, allocations: 2.866 MB / 0.7141 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.13, allocations: 3.922 kB / 0.7141 GB, free: 5.156 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.822461282135919] Failed to read output from testmodel.py, exit status != 0: 11.235019171843305 11.260626264 11.055941849 Calling exit ...