Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.00114/0.00114, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.7129/0.7129, allocations: 95.61 MB / 366 MB, free: 10.38 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.0005869/0.000587, allocations: 12 kB / 446.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4203, allocations: 70.34 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.6001/1.021, allocations: 146 MB / 0.6477 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001574/1.021, allocations: 133 kB / 0.6478 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/1.021, allocations: 0 / 0.6478 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/1.021, allocations: 3.094 kB / 0.6478 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/1.021, allocations: 19.11 kB / 0.6478 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/1.022, allocations: 162.6 kB / 0.648 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/1.022, allocations: 41.28 kB / 0.648 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/1.022, allocations: 5.797 kB / 0.648 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/1.022, allocations: 11.89 kB / 0.648 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/1.022, allocations: 13.56 kB / 0.648 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/1.022, allocations: 4.562 kB / 0.648 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/1.023, allocations: 222.8 kB / 0.6482 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/1.023, allocations: 8.203 kB / 0.6483 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/1.023, allocations: 30.98 kB / 0.6483 GB, free: 1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/1.023, allocations: 106.6 kB / 0.6484 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.023, allocations: 0.7812 kB / 0.6484 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/1.023, allocations: 0 / 0.6484 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/1.023, allocations: 0 / 0.6484 GB, free: 0.9883 MB / 494.1 MB 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.0005858/1.024, allocations: 360.5 kB / 0.6487 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.024, allocations: 16.55 kB / 0.6487 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/1.024, allocations: 5.391 kB / 0.6487 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.024, allocations: 161 kB / 0.6489 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/1.024, allocations: 34.55 kB / 0.6489 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/1.024, allocations: 2.625 kB / 0.6489 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/1.024, allocations: 48.19 kB / 0.649 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.024, allocations: 0.5938 kB / 0.649 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.024, allocations: 0.875 kB / 0.649 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/1.024, allocations: 5.844 kB / 0.649 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/1.024, allocations: 23.84 kB / 0.649 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/1.025, allocations: 361.1 kB / 0.6494 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/1.025, allocations: 22.73 kB / 0.6494 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/1.025, allocations: 4.859 kB / 0.6494 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/1.025, allocations: 7.938 kB / 0.6494 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.025, allocations: 38.61 kB / 0.6494 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.025, allocations: 0 / 0.6494 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/1.025, allocations: 38.12 kB / 0.6495 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.025, allocations: 57.08 kB / 0.6495 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/1.025, allocations: 102.4 kB / 0.6496 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/1.025, allocations: 29.02 kB / 0.6496 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/1.025, allocations: 93.73 kB / 0.6497 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/1.025, allocations: 0.7188 kB / 0.6497 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.025, allocations: 0.875 kB / 0.6497 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.025, allocations: 317.7 kB / 0.65 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/1.026, allocations: 3.125 kB / 0.65 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/1.026, allocations: 23.7 kB / 0.6501 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/1.026, allocations: 11.25 kB / 0.6501 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.026, allocations: 1.781 kB / 0.6501 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.183e-05/1.026, allocations: 59.8 kB / 0.6501 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.026, allocations: 7.641 kB / 0.6501 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.026, allocations: 1.25 kB / 0.6501 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.026, allocations: 4.641 kB / 0.6501 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/1.026, allocations: 6.688 kB / 0.6502 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.026, allocations: 5.125 kB / 0.6502 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/1.026, allocations: 0 / 0.6502 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/1.026, allocations: 9.172 kB / 0.6502 GB, free: 15.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/1.026, allocations: 114 kB / 0.6503 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/1.026, allocations: 3 kB / 0.6503 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/1.026, allocations: 121.3 kB / 0.6504 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.897e-05/1.026, allocations: 178 kB / 0.6506 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.837e-05/1.026, allocations: 189.3 kB / 0.6507 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-05/1.026, allocations: 185.6 kB / 0.6509 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/1.027, allocations: 402.6 kB / 0.6513 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/1.027, allocations: 106.7 kB / 0.6514 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/1.027, allocations: 102.7 kB / 0.6515 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.524e-05/1.027, allocations: 179.9 kB / 0.6517 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/1.027, allocations: 184.4 kB / 0.6519 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.165e-05/1.027, allocations: 179 kB / 0.652 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.673e-05/1.027, allocations: 179.8 kB / 0.6522 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/1.027, allocations: 313.1 kB / 0.6525 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/1.027, allocations: 192.2 kB / 0.6527 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/1.027, allocations: 180 kB / 0.6528 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.027, allocations: 106.5 kB / 0.6529 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/1.027, allocations: 184 kB / 0.6531 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/1.027, allocations: 101.8 kB / 0.6532 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.859e-05/1.028, allocations: 99.09 kB / 0.6533 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.028, allocations: 2.531 kB / 0.6533 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003237/1.028, allocations: 49.66 kB / 0.6534 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/1.028, allocations: 232.8 kB / 0.6536 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.166e-05/1.028, allocations: 10.59 kB / 0.6536 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.028, allocations: 0 / 0.6536 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/1.028, allocations: 1 kB / 0.6536 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/1.029, allocations: 0.5273 MB / 0.6541 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/1.029, allocations: 191.5 kB / 0.6543 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/1.029, allocations: 0.675 MB / 0.655 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.163e-05/1.029, allocations: 13.31 kB / 0.655 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/1.029, allocations: 8.938 kB / 0.655 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/1.029, allocations: 0 / 0.655 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.003626/1.033, allocations: 1.037 MB / 0.656 GB, free: 10.16 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: