Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001475/0.001475, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.00147/0.00147, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.328/1.328, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.002327/0.002327, allocations: 278.6 kB / 303.6 MB, free: 3.668 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 0.983/0.983, allocations: 180.9 MB / 0.5268 GB, free: 2.688 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 99.84 kB / 0.7259 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.528, allocations: 94.15 MB / 0.8179 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003915/0.5319, allocations: 3.309 MB / 0.8211 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 8.242e-05/0.532, allocations: 56.58 kB / 0.8211 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.532, allocations: 0 / 0.8211 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.903e-05/0.5321, allocations: 2.766 kB / 0.8211 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.5322, allocations: 15.58 kB / 0.8212 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.5326, allocations: 193.2 kB / 0.8213 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.5327, allocations: 32.38 kB / 0.8214 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.5327, allocations: 8.766 kB / 0.8214 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.5328, allocations: 13.5 kB / 0.8214 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.5328, allocations: 9.328 kB / 0.8214 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5329, allocations: 5.297 kB / 0.8214 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.5332, allocations: 181.8 kB / 0.8216 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.5332, allocations: 11.11 kB / 0.8216 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.5332, allocations: 8.312 kB / 0.8216 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.5335, allocations: 145.6 kB / 0.8217 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5335, allocations: 0 / 0.8217 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5335, allocations: 0 / 0.8217 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5335, allocations: 0.6562 kB / 0.8217 GB, free: 5.004 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.0003071/0.5338, allocations: 349.2 kB / 0.8221 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.5338, allocations: 9.562 kB / 0.8221 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.5339, allocations: 2.781 kB / 0.8221 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.613e-05/0.5339, allocations: 161.5 kB / 0.8222 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.534, allocations: 34.39 kB / 0.8223 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.534, allocations: 2.156 kB / 0.8223 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.5341, allocations: 49.05 kB / 0.8223 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5341, allocations: 1.156 kB / 0.8223 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5341, allocations: 0 / 0.8223 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5341, allocations: 0.9062 kB / 0.8223 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.5342, allocations: 13.23 kB / 0.8223 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.5346, allocations: 0.5838 MB / 0.8229 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.5347, allocations: 21.53 kB / 0.8229 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.5347, allocations: 11.03 kB / 0.8229 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.5348, allocations: 346.1 kB / 0.8233 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.5348, allocations: 31.97 kB / 0.8233 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.5348, allocations: 0 / 0.8233 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.5349, allocations: 37.62 kB / 0.8233 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.535, allocations: 61.23 kB / 0.8234 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.535, allocations: 107.3 kB / 0.8235 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.535, allocations: 25.7 kB / 0.8235 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.5351, allocations: 86 kB / 0.8236 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.5351, allocations: 0.5625 kB / 0.8236 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.5351, allocations: 18.69 kB / 0.8236 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.5351, allocations: 316.3 kB / 0.8239 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.5352, allocations: 8.531 kB / 0.8239 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.5352, allocations: 22.14 kB / 0.824 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.5352, allocations: 17.59 kB / 0.824 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5352, allocations: 5.094 kB / 0.824 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.486e-05/0.5353, allocations: 49.5 kB / 0.824 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5353, allocations: 5.938 kB / 0.824 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5353, allocations: 0 / 0.824 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5353, allocations: 5.828 kB / 0.824 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.5353, allocations: 6 kB / 0.824 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5353, allocations: 0 / 0.824 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.5354, allocations: 5.75 kB / 0.824 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5354, allocations: 2.375 kB / 0.824 GB, free: 2.48 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.106e-05/0.5354, allocations: 117.3 kB / 0.8242 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.5354, allocations: 0.6094 kB / 0.8242 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.966e-05/0.5355, allocations: 123.4 kB / 0.8243 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.5355, allocations: 181.1 kB / 0.8244 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.5356, allocations: 182.2 kB / 0.8246 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.5356, allocations: 182 kB / 0.8248 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.5357, allocations: 415.6 kB / 0.8252 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.5357, allocations: 102.7 kB / 0.8253 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.5357, allocations: 107 kB / 0.8254 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.212e-05/0.5358, allocations: 182.2 kB / 0.8256 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.5358, allocations: 178.2 kB / 0.8257 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.5358, allocations: 181.3 kB / 0.8259 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/0.5358, allocations: 182 kB / 0.8261 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.536, allocations: 314.1 kB / 0.8264 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.5361, allocations: 180.6 kB / 0.8266 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5362, allocations: 182.6 kB / 0.8267 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.5363, allocations: 110.2 kB / 0.8268 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.5364, allocations: 184.7 kB / 0.827 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.5365, allocations: 106.7 kB / 0.8271 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.5365, allocations: 87.08 kB / 0.8272 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5365, allocations: 0 / 0.8272 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002701/0.5368, allocations: 32.58 kB / 0.8272 GB, free: 15.09 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.0002825/0.5371, allocations: 244.8 kB / 0.8275 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.5371, allocations: 8.594 kB / 0.8275 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5371, allocations: 0 / 0.8275 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.5371, allocations: 3.938 kB / 0.8275 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.5376, allocations: 463.9 kB / 0.8279 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.5379, allocations: 213.6 kB / 0.8281 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.5382, allocations: 0.6759 MB / 0.8288 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.5382, allocations: 10.38 kB / 0.8288 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5382, allocations: 0 / 0.8288 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of Templates: time 0.002929/0.5412, allocations: 1.204 MB / 0.83 GB, free: 13.33 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9192994851619005] Failed to read output from testmodel.py, exit status != 0: 0.5488568302243948 0.561904051 0.025383324000000002 Calling exit ...