Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001988/0.001988, allocations: 172.7 kB / 15.95 MB, free: 208 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.825/1.825, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.7186/0.7186, allocations: 95.62 MB / 366 MB, free: 10.4 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.0007562/0.0007564, allocations: 16 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4347, allocations: 70.33 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.5786/1.013, allocations: 144.2 MB / 0.6459 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 5.191e-05/1.013, allocations: 28.98 kB / 0.6459 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/1.013, allocations: 0.5312 kB / 0.6459 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/1.014, allocations: 0.875 kB / 0.6459 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/1.014, allocations: 12.31 kB / 0.6459 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/1.015, allocations: 442.4 kB / 0.6463 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.432e-05/1.015, allocations: 45.77 kB / 0.6464 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/1.015, allocations: 5.219 kB / 0.6464 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/1.015, allocations: 13.22 kB / 0.6464 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/1.015, allocations: 13.72 kB / 0.6464 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/1.015, allocations: 0.8438 kB / 0.6464 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/1.016, allocations: 0.5012 MB / 0.6469 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/1.016, allocations: 7.766 kB / 0.6469 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/1.017, allocations: 28.27 kB / 0.6469 GB, free: 17.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/1.017, allocations: 256.6 kB / 0.6472 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.017, allocations: 4 kB / 0.6472 GB, free: 17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.017, allocations: 1.875 kB / 0.6472 GB, free: 17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/1.017, allocations: 0 / 0.6472 GB, free: 17 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.0005576/1.018, allocations: 397.3 kB / 0.6476 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.018, allocations: 15.83 kB / 0.6476 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/1.018, allocations: 1.312 kB / 0.6476 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.018, allocations: 167.4 kB / 0.6477 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/1.018, allocations: 29.77 kB / 0.6478 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/1.018, allocations: 10.55 kB / 0.6478 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/1.018, allocations: 47.34 kB / 0.6478 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.018, allocations: 0.7812 kB / 0.6478 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.018, allocations: 0 / 0.6478 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/1.018, allocations: 2.094 kB / 0.6478 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/1.018, allocations: 25.39 kB / 0.6479 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/1.019, allocations: 264.9 kB / 0.6481 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.373e-05/1.019, allocations: 22.52 kB / 0.6481 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/1.019, allocations: 5.578 kB / 0.6481 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/1.019, allocations: 2.5 kB / 0.6481 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/1.019, allocations: 34 kB / 0.6482 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.019, allocations: 0 / 0.6482 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000139/1.019, allocations: 44.66 kB / 0.6482 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.019, allocations: 51.41 kB / 0.6483 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/1.019, allocations: 112.5 kB / 0.6484 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/1.019, allocations: 25.7 kB / 0.6484 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/1.019, allocations: 85.73 kB / 0.6485 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/1.019, allocations: 3.688 kB / 0.6485 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/1.019, allocations: 4.062 kB / 0.6485 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.019, allocations: 311.5 kB / 0.6488 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/1.019, allocations: 2.844 kB / 0.6488 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/1.019, allocations: 26.27 kB / 0.6488 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/1.019, allocations: 11.61 kB / 0.6488 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.02, allocations: 4.875 kB / 0.6488 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.107e-05/1.02, allocations: 64.52 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.02, allocations: 5.5 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.02, allocations: 0.6875 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.02, allocations: 1.375 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/1.02, allocations: 10.7 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.02, allocations: 7.469 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/1.02, allocations: 1.844 kB / 0.6489 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/1.02, allocations: 2.719 kB / 0.6489 GB, free: 15.29 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 8.502e-05/1.02, allocations: 110.8 kB / 0.649 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/1.02, allocations: 1.125 kB / 0.649 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/1.02, allocations: 130.4 kB / 0.6491 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-05/1.02, allocations: 181 kB / 0.6493 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.04e-05/1.02, allocations: 184.5 kB / 0.6495 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.601e-05/1.02, allocations: 181.9 kB / 0.6497 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/1.021, allocations: 403.7 kB / 0.6501 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/1.021, allocations: 107.8 kB / 0.6502 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/1.021, allocations: 104.6 kB / 0.6503 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.445e-05/1.021, allocations: 181.4 kB / 0.6504 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/1.021, allocations: 186.1 kB / 0.6506 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.318e-05/1.021, allocations: 179.4 kB / 0.6508 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.969e-05/1.021, allocations: 178.9 kB / 0.6509 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/1.021, allocations: 320.6 kB / 0.6513 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.021, allocations: 185.2 kB / 0.6514 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/1.021, allocations: 185.5 kB / 0.6516 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.021, allocations: 103.6 kB / 0.6517 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/1.022, allocations: 184.4 kB / 0.6519 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/1.022, allocations: 109 kB / 0.652 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.574e-05/1.022, allocations: 87.72 kB / 0.6521 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 0 / 0.6521 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000526/1.022, allocations: 108.8 kB / 0.6522 GB, free: 11.92 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.0008909/1.023, allocations: 349.4 kB / 0.6525 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.593e-05/1.023, allocations: 18.66 kB / 0.6525 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.023, allocations: 0 / 0.6525 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/1.023, allocations: 0 / 0.6525 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/1.024, allocations: 0.5212 MB / 0.653 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/1.024, allocations: 196.3 kB / 0.6532 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.024, allocations: 0.6756 MB / 0.6539 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.338e-05/1.024, allocations: 9.828 kB / 0.6539 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/1.024, allocations: 14.38 kB / 0.6539 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/1.024, allocations: 0 / 0.6539 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.006004/1.031, allocations: 2.216 MB / 0.6561 GB, free: 10.12 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: