Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002964/0.002965, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 251.6 MB / 0.5088 GB, free: 3.332 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 64.48 kB / 0.6215 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4637, allocations: 104.7 MB / 0.7238 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004895/0.4686, allocations: 4.072 MB / 0.7278 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000168/0.4688, allocations: 163.5 kB / 0.7279 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.4688, allocations: 0 / 0.7279 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.574e-05/0.4689, allocations: 3.938 kB / 0.7279 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.469, allocations: 11.91 kB / 0.7279 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.4693, allocations: 59.84 kB / 0.728 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.4693, allocations: 55.83 kB / 0.728 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.4694, allocations: 11.98 kB / 0.7281 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.4694, allocations: 11.98 kB / 0.7281 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.4695, allocations: 11.94 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.4695, allocations: 4 kB / 0.7281 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.4697, allocations: 75.77 kB / 0.7282 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.4698, allocations: 8 kB / 0.7282 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.4698, allocations: 4 kB / 0.7282 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.4699, allocations: 49.94 kB / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4699, allocations: 0 / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4699, allocations: 0 / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.4699, allocations: 4 kB / 0.7282 GB, free: 8.875 MB / 0.545 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.0003955/0.4703, allocations: 335.5 kB / 0.7285 GB, free: 8.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4704, allocations: 12.03 kB / 0.7286 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.4704, allocations: 0.9375 kB / 0.7286 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.4706, allocations: 160.4 kB / 0.7287 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.4707, allocations: 30.27 kB / 0.7287 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.4707, allocations: 384 / 0.7287 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.4708, allocations: 53.61 kB / 0.7288 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4709, allocations: 3.938 kB / 0.7288 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4709, allocations: 4 kB / 0.7288 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.4709, allocations: 0 / 0.7288 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.4709, allocations: 15.98 kB / 0.7288 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.4714, allocations: 341.9 kB / 0.7291 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/0.4714, allocations: 22.56 kB / 0.7292 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.4715, allocations: 12.92 kB / 0.7292 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.898e-05/0.4715, allocations: 81.11 kB / 0.7292 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4716, allocations: 34.5 kB / 0.7293 GB, free: 7.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/0.4716, allocations: 0 / 0.7293 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.4717, allocations: 41.62 kB / 0.7293 GB, free: 7.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4718, allocations: 55.34 kB / 0.7294 GB, free: 7.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.4719, allocations: 101.9 kB / 0.7295 GB, free: 7.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4719, allocations: 33.81 kB / 0.7295 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.4719, allocations: 84.05 kB / 0.7296 GB, free: 7.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.4719, allocations: 4 kB / 0.7296 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.472, allocations: 13.72 kB / 0.7296 GB, free: 7.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4721, allocations: 314.8 kB / 0.7299 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.4721, allocations: 11.98 kB / 0.7299 GB, free: 6.887 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.4721, allocations: 17.66 kB / 0.7299 GB, free: 6.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.4722, allocations: 25.72 kB / 0.7299 GB, free: 6.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4722, allocations: 0 / 0.7299 GB, free: 6.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.208e-05/0.4723, allocations: 49.53 kB / 0.73 GB, free: 6.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4723, allocations: 4 kB / 0.73 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4723, allocations: 0 / 0.73 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4723, allocations: 4 kB / 0.73 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.4723, allocations: 7.984 kB / 0.73 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4724, allocations: 0 / 0.73 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.4724, allocations: 12 kB / 0.73 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4724, allocations: 4 kB / 0.73 GB, free: 6.746 MB / 0.545 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 6.779e-05/0.4725, allocations: 109.8 kB / 0.7301 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.4725, allocations: 4 kB / 0.7301 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.4726, allocations: 120.9 kB / 0.7303 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/0.4727, allocations: 180.3 kB / 0.7304 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.938e-05/0.4727, allocations: 184.2 kB / 0.7306 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/0.4728, allocations: 180.3 kB / 0.7308 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.473, allocations: 409.2 kB / 0.7312 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.936e-05/0.4731, allocations: 104.9 kB / 0.7313 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.4731, allocations: 101 kB / 0.7314 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.606e-05/0.4732, allocations: 192.2 kB / 0.7315 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.4732, allocations: 176.3 kB / 0.7317 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-05/0.4733, allocations: 176.3 kB / 0.7319 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.755e-05/0.4734, allocations: 184.2 kB / 0.7321 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.4735, allocations: 315.7 kB / 0.7324 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.4736, allocations: 178.1 kB / 0.7325 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.4737, allocations: 180.3 kB / 0.7327 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4738, allocations: 116.8 kB / 0.7328 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.4739, allocations: 180.3 kB / 0.733 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.474, allocations: 104.9 kB / 0.7331 GB, free: 3.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.474, allocations: 95.27 kB / 0.7332 GB, free: 3.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.474, allocations: 0 / 0.7332 GB, free: 3.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002545/0.4743, allocations: 16 kB / 0.7332 GB, free: 3.285 MB / 0.545 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.0002189/0.4745, allocations: 190.5 kB / 0.7334 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.579e-05/0.4746, allocations: 15.92 kB / 0.7334 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4746, allocations: 0 / 0.7334 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4746, allocations: 4.125 kB / 0.7334 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.475, allocations: 0.5263 MB / 0.7339 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.4752, allocations: 191.6 kB / 0.7341 GB, free: 2.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4754, allocations: 0.6809 MB / 0.7347 GB, free: 1.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4754, allocations: 4 kB / 0.7348 GB, free: 1.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.4754, allocations: 11.44 kB / 0.7348 GB, free: 1.605 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4754, allocations: 0 / 0.7348 GB, free: 1.605 MB / 0.545 GB Notification: Performance of Templates: time 0.002381/0.4778, allocations: 0.5815 MB / 0.7353 GB, free: 1.035 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)