Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 98.27 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.01054/0.01054, allocations: 169 kB / 16.26 MB, free: 6.66 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.706/1.706, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6214/0.6214, allocations: 95.62 MB / 366.4 MB, free: 10.23 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005704/0.0005705, allocations: 16.7 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3593, allocations: 70.34 MB / 0.5057 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion): time 0.5009/0.8603, allocations: 151.7 MB / 0.6538 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 5.73e-05/0.8604, allocations: 28.45 kB / 0.6539 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.8604, allocations: 0 / 0.6539 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.8605, allocations: 3.719 kB / 0.6539 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.8606, allocations: 17.89 kB / 0.6539 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.8628, allocations: 438.6 kB / 0.6543 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.8629, allocations: 50.03 kB / 0.6543 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.863, allocations: 0.6562 kB / 0.6543 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.8631, allocations: 20.38 kB / 0.6544 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.8632, allocations: 13.47 kB / 0.6544 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.8632, allocations: 0.7812 kB / 0.6544 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.8647, allocations: 0.5305 MB / 0.6549 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.8648, allocations: 9.75 kB / 0.6549 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.8649, allocations: 39.86 kB / 0.6549 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.8659, allocations: 360.1 kB / 0.6553 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8659, allocations: 0 / 0.6553 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8659, allocations: 0 / 0.6553 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8659, allocations: 0 / 0.6553 GB, free: 12.79 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007015/0.8666, allocations: 396.1 kB / 0.6557 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.8667, allocations: 17.23 kB / 0.6557 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.8667, allocations: 6.031 kB / 0.6557 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.8668, allocations: 159.7 kB / 0.6558 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.161e-05/0.8669, allocations: 34.31 kB / 0.6559 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.867, allocations: 1.25 kB / 0.6559 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.8671, allocations: 49.69 kB / 0.6559 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.8672, allocations: 0 / 0.6559 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.8672, allocations: 0.6875 kB / 0.6559 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.8672, allocations: 6.062 kB / 0.6559 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.8673, allocations: 27.97 kB / 0.656 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.8677, allocations: 253.7 kB / 0.6562 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.8678, allocations: 28.41 kB / 0.6562 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.8678, allocations: 9.328 kB / 0.6562 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.8679, allocations: 1.938 kB / 0.6562 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.8679, allocations: 31.88 kB / 0.6563 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8679, allocations: 4 kB / 0.6563 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.8681, allocations: 39.05 kB / 0.6563 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.8681, allocations: 55.28 kB / 0.6564 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.8682, allocations: 102.7 kB / 0.6565 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8683, allocations: 29.05 kB / 0.6565 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.8683, allocations: 96.88 kB / 0.6566 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.8683, allocations: 3.906 kB / 0.6566 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.8684, allocations: 10.78 kB / 0.6566 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8685, allocations: 322.8 kB / 0.6569 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.8685, allocations: 5.828 kB / 0.6569 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.8686, allocations: 21.72 kB / 0.6569 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.8686, allocations: 34.86 kB / 0.657 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8686, allocations: 7.938 kB / 0.657 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000108/0.8688, allocations: 57.95 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8688, allocations: 7.625 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8688, allocations: 1.406 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8688, allocations: 1 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.8689, allocations: 5.969 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.8689, allocations: 1.094 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.8689, allocations: 6.438 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.869, allocations: 4.109 kB / 0.657 GB, free: 11.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.623e-05/0.869, allocations: 113.3 kB / 0.6572 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.8691, allocations: 6.812 kB / 0.6572 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.8692, allocations: 126.4 kB / 0.6573 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-05/0.8693, allocations: 176.3 kB / 0.6575 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.768e-05/0.8694, allocations: 182.2 kB / 0.6576 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.618e-05/0.8695, allocations: 183.7 kB / 0.6578 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.8698, allocations: 409.4 kB / 0.6582 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/0.8698, allocations: 104.9 kB / 0.6583 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8699, allocations: 101 kB / 0.6584 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.87, allocations: 184.2 kB / 0.6586 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/0.8701, allocations: 189.7 kB / 0.6587 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.523e-05/0.8702, allocations: 180.1 kB / 0.6589 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.929e-05/0.8703, allocations: 180.2 kB / 0.6591 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.8705, allocations: 312.6 kB / 0.6594 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.8706, allocations: 185.9 kB / 0.6596 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.8707, allocations: 181.9 kB / 0.6597 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.8709, allocations: 109.6 kB / 0.6598 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.871, allocations: 177.3 kB / 0.66 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.871, allocations: 112.2 kB / 0.6601 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.05e-05/0.8711, allocations: 80.62 kB / 0.6602 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8711, allocations: 0 / 0.6602 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008277/0.872, allocations: 95.22 kB / 0.6603 GB, free: 7.633 MB / 0.4981 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.001081/0.873, allocations: 335.1 kB / 0.6606 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.8732, allocations: 12.59 kB / 0.6606 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.8732, allocations: 8.125 kB / 0.6606 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.8732, allocations: 0.5312 kB / 0.6606 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.8739, allocations: 0.5284 MB / 0.6611 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.8744, allocations: 196.6 kB / 0.6613 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.8749, allocations: 0.6749 MB / 0.662 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.485e-05/0.875, allocations: 7.281 kB / 0.662 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.875, allocations: 10.53 kB / 0.662 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.8751, allocations: 0 / 0.662 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of Templates: time 0.008561/0.8836, allocations: 2.195 MB / 0.6641 GB, free: 5.789 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: