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.000997/0.0009969, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.008059/0.00806, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.429/1.429, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.496/1.496, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0004932/0.0004932, allocations: 16 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4422, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004261/0.4465, allocations: 3.702 MB / 0.7323 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.4467, allocations: 151.5 kB / 0.7325 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.4467, allocations: 0 / 0.7325 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.4468, allocations: 3.938 kB / 0.7325 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.4469, allocations: 19.91 kB / 0.7325 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.4472, allocations: 60.84 kB / 0.7325 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.4473, allocations: 63.75 kB / 0.7326 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.4473, allocations: 0 / 0.7326 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.4474, allocations: 15.98 kB / 0.7326 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.4474, allocations: 11.98 kB / 0.7326 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.4475, allocations: 0 / 0.7326 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.4477, allocations: 79.78 kB / 0.7327 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.4478, allocations: 11.92 kB / 0.7327 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.4478, allocations: 41.62 kB / 0.7328 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.4479, allocations: 41.81 kB / 0.7328 GB, free: 7.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4479, allocations: 0 / 0.7328 GB, free: 7.074 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.448, allocations: 4 kB / 0.7328 GB, free: 7.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.448, allocations: 0 / 0.7328 GB, free: 7.07 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.0003649/0.4483, allocations: 331.5 kB / 0.7331 GB, free: 6.699 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4484, allocations: 8.031 kB / 0.7331 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.4484, allocations: 4.938 kB / 0.7331 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4485, allocations: 160.4 kB / 0.7333 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.4486, allocations: 30.27 kB / 0.7333 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.4486, allocations: 384 / 0.7333 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4488, allocations: 53.56 kB / 0.7334 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.4488, allocations: 0 / 0.7334 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4488, allocations: 3.984 kB / 0.7334 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.4488, allocations: 4 kB / 0.7334 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/0.4489, allocations: 8 kB / 0.7334 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.4493, allocations: 337.9 kB / 0.7337 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.353e-05/0.4493, allocations: 18.58 kB / 0.7337 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.4494, allocations: 12.92 kB / 0.7337 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-05/0.4495, allocations: 85.09 kB / 0.7338 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.4495, allocations: 34.5 kB / 0.7338 GB, free: 5.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.4495, allocations: 0 / 0.7338 GB, free: 5.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.4497, allocations: 33.7 kB / 0.7339 GB, free: 5.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4497, allocations: 55.39 kB / 0.7339 GB, free: 5.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.4498, allocations: 97.98 kB / 0.734 GB, free: 5.586 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4498, allocations: 33.7 kB / 0.7341 GB, free: 5.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.4499, allocations: 88.05 kB / 0.7341 GB, free: 5.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.4499, allocations: 3.984 kB / 0.7341 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.4499, allocations: 9.719 kB / 0.7342 GB, free: 5.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.45, allocations: 314.8 kB / 0.7345 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.45, allocations: 4 kB / 0.7345 GB, free: 5.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.4501, allocations: 25.59 kB / 0.7345 GB, free: 5.086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.4501, allocations: 25.7 kB / 0.7345 GB, free: 5.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4501, allocations: 0 / 0.7345 GB, free: 5.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.247e-05/0.4502, allocations: 49.62 kB / 0.7346 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4502, allocations: 4 kB / 0.7346 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4502, allocations: 4 kB / 0.7346 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.4502, allocations: 0 / 0.7346 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.4503, allocations: 4 kB / 0.7346 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4503, allocations: 0 / 0.7346 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.4503, allocations: 11.91 kB / 0.7346 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4503, allocations: 8 kB / 0.7346 GB, free: 4.969 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.773e-05/0.4504, allocations: 109.8 kB / 0.7347 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4504, allocations: 7.938 kB / 0.7347 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.4505, allocations: 124.8 kB / 0.7348 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.353e-05/0.4506, allocations: 180.3 kB / 0.735 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/0.4507, allocations: 184.2 kB / 0.7352 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/0.4507, allocations: 180.5 kB / 0.7353 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.451, allocations: 409.2 kB / 0.7357 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/0.451, allocations: 108.9 kB / 0.7358 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.4511, allocations: 105 kB / 0.7359 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.63e-05/0.4511, allocations: 192.2 kB / 0.7361 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.4512, allocations: 176.3 kB / 0.7363 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.256e-05/0.4513, allocations: 176.3 kB / 0.7365 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.425e-05/0.4513, allocations: 188.2 kB / 0.7366 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.4515, allocations: 311.7 kB / 0.7369 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.4515, allocations: 182.1 kB / 0.7371 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.4516, allocations: 180.3 kB / 0.7373 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.4518, allocations: 108.9 kB / 0.7374 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.4518, allocations: 184.2 kB / 0.7376 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.4519, allocations: 104.9 kB / 0.7377 GB, free: 1.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.4519, allocations: 87.28 kB / 0.7377 GB, free: 1.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4519, allocations: 0 / 0.7377 GB, free: 1.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002377/0.4522, allocations: 16 kB / 0.7378 GB, free: 1.5 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.0002251/0.4524, allocations: 194.4 kB / 0.7379 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.157e-05/0.4525, allocations: 11.94 kB / 0.738 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4525, allocations: 0 / 0.738 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.4525, allocations: 4.125 kB / 0.738 GB, free: 1.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.4529, allocations: 0.5302 MB / 0.7385 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.4531, allocations: 195.8 kB / 0.7387 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4534, allocations: 0.6731 MB / 0.7393 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.4534, allocations: 7.984 kB / 0.7393 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.4535, allocations: 11.44 kB / 0.7393 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4535, allocations: 0 / 0.7393 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.002569/0.456, allocations: 0.5746 MB / 0.7399 GB, free: 15.25 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: