Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 284.5 kB / 303.6 MB, free: 3.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 180.9 MB / 0.5268 GB, free: 2.668 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 91.84 kB / 0.7259 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4915, allocations: 94.15 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004266/0.4957, allocations: 3.751 MB / 0.8215 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.4959, allocations: 155 kB / 0.8216 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.4959, allocations: 0 / 0.8216 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.409e-05/0.496, allocations: 1.312 kB / 0.8216 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.4961, allocations: 13.09 kB / 0.8217 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.4964, allocations: 100.9 kB / 0.8218 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.4965, allocations: 32.44 kB / 0.8218 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.4965, allocations: 1.562 kB / 0.8218 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.4965, allocations: 12.67 kB / 0.8218 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.4966, allocations: 16.38 kB / 0.8218 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.4966, allocations: 1.156 kB / 0.8218 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.4971, allocations: 194.3 kB / 0.822 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.4971, allocations: 12.7 kB / 0.822 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.4972, allocations: 9.984 kB / 0.822 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4973, allocations: 37.97 kB / 0.8221 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4973, allocations: 0 / 0.8221 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4973, allocations: 1.188 kB / 0.8221 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4973, allocations: 0 / 0.8221 GB, free: 4.48 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003114/0.4976, allocations: 341.5 kB / 0.8224 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4976, allocations: 8.812 kB / 0.8224 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.4977, allocations: 2.438 kB / 0.8224 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.926e-05/0.4978, allocations: 162.5 kB / 0.8226 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.4978, allocations: 36.97 kB / 0.8226 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.4978, allocations: 1.344 kB / 0.8226 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4979, allocations: 46.83 kB / 0.8226 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4979, allocations: 0.5625 kB / 0.8226 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.498, allocations: 1.062 kB / 0.8226 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.498, allocations: 2.094 kB / 0.8226 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.498, allocations: 16.73 kB / 0.8227 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.4984, allocations: 335.6 kB / 0.823 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.4984, allocations: 17.67 kB / 0.823 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.4984, allocations: 10.44 kB / 0.823 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.4985, allocations: 92.16 kB / 0.8231 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.4985, allocations: 31.22 kB / 0.8231 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4985, allocations: 1.25 kB / 0.8231 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.4986, allocations: 44.58 kB / 0.8232 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.4986, allocations: 52.59 kB / 0.8232 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.4987, allocations: 102.7 kB / 0.8233 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.4987, allocations: 29.64 kB / 0.8233 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.4987, allocations: 86.02 kB / 0.8234 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.4987, allocations: 1.766 kB / 0.8234 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.4988, allocations: 18.33 kB / 0.8234 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.4988, allocations: 317.2 kB / 0.8237 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.4988, allocations: 10.98 kB / 0.8238 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.4988, allocations: 16.31 kB / 0.8238 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.4989, allocations: 20.67 kB / 0.8238 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4989, allocations: 0 / 0.8238 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.539e-05/0.4989, allocations: 50.33 kB / 0.8238 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4989, allocations: 4.812 kB / 0.8238 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4989, allocations: 5.562 kB / 0.8238 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.499, allocations: 0.875 kB / 0.8238 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.499, allocations: 6.5 kB / 0.8239 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.499, allocations: 0.8125 kB / 0.8239 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.499, allocations: 8.766 kB / 0.8239 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.499, allocations: 2.641 kB / 0.8239 GB, free: 2.535 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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 4.175e-05/0.4991, allocations: 116.6 kB / 0.824 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4991, allocations: 1.156 kB / 0.824 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.4992, allocations: 122.9 kB / 0.8241 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.4992, allocations: 182.2 kB / 0.8243 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/0.4992, allocations: 182 kB / 0.8244 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.4992, allocations: 181.7 kB / 0.8246 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.4994, allocations: 411.9 kB / 0.825 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.4994, allocations: 111 kB / 0.8251 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.4994, allocations: 103.2 kB / 0.8252 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/0.4994, allocations: 185 kB / 0.8254 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.4994, allocations: 178.4 kB / 0.8256 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.969e-05/0.4994, allocations: 178.1 kB / 0.8257 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-05/0.4995, allocations: 181.9 kB / 0.8259 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.4996, allocations: 313.2 kB / 0.8262 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.4997, allocations: 180.9 kB / 0.8264 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.4998, allocations: 183.2 kB / 0.8265 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.4999, allocations: 105.3 kB / 0.8266 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.5, allocations: 181.8 kB / 0.8268 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.5, allocations: 110.8 kB / 0.8269 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.5001, allocations: 90.19 kB / 0.827 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5001, allocations: 0 / 0.827 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002257/0.5003, allocations: 18.17 kB / 0.827 GB, free: 15.14 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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.0002392/0.5006, allocations: 202.9 kB / 0.8272 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.5006, allocations: 11.06 kB / 0.8272 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5006, allocations: 1.375 kB / 0.8272 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.5006, allocations: 3.938 kB / 0.8272 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.5011, allocations: 458.5 kB / 0.8277 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.5013, allocations: 224.7 kB / 0.8279 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5016, allocations: 0.6752 MB / 0.8286 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.5016, allocations: 8.094 kB / 0.8286 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5016, allocations: 0 / 0.8286 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.002327/0.504, allocations: 0.7599 MB / 0.8293 GB, free: 13.53 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.036463130963966] Failed to read output from testmodel.py, exit status != 0: 0.5115429249126464 0.523311959 0.022960782000000002 Calling exit ...