Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5713/0.5713, allocations: 95.62 MB / 110.6 MB, free: 9.355 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001267/0.001267, allocations: 166.2 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.813/1.813, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001804/0.001804, allocations: 108.5 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 8 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1825, allocations: 61.53 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.54/14.72, allocations: 5.238 GB / 5.75 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/14.72, allocations: 84.89 kB / 5.751 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1108/14.83, allocations: 61.44 MB / 5.811 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/14.83, allocations: 0 / 5.811 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.434e-06/14.83, allocations: 0 / 5.811 GB, free: 1.523 MB / 0.5261 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.0003645/14.83, allocations: 379.2 kB / 5.811 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/14.83, allocations: 15.92 kB / 5.811 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/14.83, allocations: 11.95 kB / 5.811 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/14.83, allocations: 159.1 kB / 5.811 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/14.83, allocations: 25.7 kB / 5.811 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/14.83, allocations: 7.984 kB / 5.811 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/14.83, allocations: 45.62 kB / 5.811 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/14.83, allocations: 4 kB / 5.811 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/14.83, allocations: 0 / 5.811 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/14.83, allocations: 0 / 5.811 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/14.83, allocations: 19.98 kB / 5.811 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/14.83, allocations: 273.4 kB / 5.811 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/14.83, allocations: 18.58 kB / 5.811 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/14.83, allocations: 3.938 kB / 5.811 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/14.83, allocations: 38.5 kB / 5.811 GB, free: 384 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/14.83, allocations: 64 / 5.811 GB, free: 384 kB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/14.83, allocations: 45.72 kB / 5.812 GB, free: 332 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/14.83, allocations: 55.44 kB / 5.812 GB, free: 264 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/14.83, allocations: 97 kB / 5.812 GB, free: 160 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/14.83, allocations: 25.7 kB / 5.812 GB, free: 128 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/14.83, allocations: 88.03 kB / 5.812 GB, free: 36 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/14.83, allocations: 3.906 kB / 5.812 GB, free: 32 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/14.83, allocations: 4 kB / 5.812 GB, free: 28 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.3333/15.17, allocations: 314.8 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/15.17, allocations: 0 / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/15.17, allocations: 25.94 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/15.17, allocations: 8.469 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/15.17, allocations: 2.969 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001714/15.17, allocations: 55.11 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/15.17, allocations: 6.906 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/15.17, allocations: 1.609 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/15.17, allocations: 1.5 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/15.17, allocations: 13.69 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/15.17, allocations: 4.391 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/15.17, allocations: 2.688 kB / 5.812 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/15.17, allocations: 2.828 kB / 5.812 GB, free: 160.5 MB / 0.5261 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 9.714e-05/15.17, allocations: 114.8 kB / 5.812 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/15.17, allocations: 2.516 kB / 5.812 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/15.17, allocations: 125.3 kB / 5.812 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.447e-05/15.17, allocations: 183.9 kB / 5.813 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.583e-05/15.17, allocations: 178.5 kB / 5.813 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.621e-05/15.17, allocations: 181.6 kB / 5.813 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/15.17, allocations: 409.2 kB / 5.813 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/15.17, allocations: 109.4 kB / 5.813 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/15.17, allocations: 102.2 kB / 5.814 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.294e-05/15.17, allocations: 185.5 kB / 5.814 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/15.17, allocations: 183.2 kB / 5.814 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/15.17, allocations: 182 kB / 5.814 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.924e-05/15.17, allocations: 178.3 kB / 5.814 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/15.17, allocations: 309.5 kB / 5.815 GB, free: 158 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/15.17, allocations: 187.7 kB / 5.815 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/15.17, allocations: 189.5 kB / 5.815 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/15.17, allocations: 108.5 kB / 5.815 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/15.17, allocations: 181.5 kB / 5.815 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/15.17, allocations: 105 kB / 5.815 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.616e-05/15.17, allocations: 85.34 kB / 5.815 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/15.17, allocations: 0 / 5.815 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007243/15.17, allocations: 88.16 kB / 5.815 GB, free: 157.2 MB / 0.5261 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.001411/15.17, allocations: 0.722 MB / 5.816 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001025/15.17, allocations: 14.38 kB / 5.816 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/15.17, allocations: 1.344 kB / 5.816 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/15.17, allocations: 4.453 kB / 5.816 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/15.17, allocations: 0.5232 MB / 5.817 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/15.17, allocations: 192.6 kB / 5.817 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/15.17, allocations: 0.6797 MB / 5.818 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.026e-05/15.17, allocations: 7.203 kB / 5.818 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/15.17, allocations: 10.3 kB / 5.818 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/15.17, allocations: 0 / 5.818 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.02042/15.19, allocations: 9.038 MB / 5.826 GB, free: 155.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)