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/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.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/Buildings 1.6.0+build.1/package.mo): time 0.6439/0.6439, allocations: 94.77 MB / 102.2 MB, free: 14.08 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.00139/0.00139, allocations: 180 kB / 125.6 MB, free: 7.914 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.71/1.71, allocations: 170.6 MB / 319.4 MB, free: 1.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001836/0.001836, allocations: 103.7 kB / 381.4 MB, free: 3.102 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.153e-05, allocations: 4 kB / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 61.52 MB / 0.4986 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.36/15.51, allocations: 4.463 GB / 4.961 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/15.51, allocations: 80.64 kB / 4.962 GB, free: 116 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.112/15.62, allocations: 52.45 MB / 5.013 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.707e-06/15.62, allocations: 0 / 5.013 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.431e-05/15.62, allocations: 0 / 5.013 GB, free: 68.43 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.0008743/15.62, allocations: 411 kB / 5.013 GB, free: 67.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/15.62, allocations: 12.03 kB / 5.013 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/15.62, allocations: 0 / 5.013 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/15.62, allocations: 159.1 kB / 5.013 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/15.62, allocations: 29.7 kB / 5.013 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/15.62, allocations: 4 kB / 5.013 GB, free: 67.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/15.62, allocations: 19.98 kB / 5.013 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/15.62, allocations: 45.58 kB / 5.013 GB, free: 67.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/15.62, allocations: 11.94 kB / 5.013 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/15.62, allocations: 0 / 5.013 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/15.62, allocations: 0 / 5.013 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/15.62, allocations: 238.1 kB / 5.014 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/15.62, allocations: 34.58 kB / 5.014 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/15.62, allocations: 4.859 kB / 5.014 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/15.62, allocations: 4.062 kB / 5.014 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/15.62, allocations: 30.56 kB / 5.014 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/15.62, allocations: 0 / 5.014 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002741/15.62, allocations: 37.62 kB / 5.014 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/15.62, allocations: 55.41 kB / 5.014 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/15.62, allocations: 97.03 kB / 5.014 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/15.62, allocations: 25.7 kB / 5.014 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/15.62, allocations: 87.98 kB / 5.014 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/15.62, allocations: 7.906 kB / 5.014 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/15.62, allocations: 0 / 5.014 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001677/15.62, allocations: 318.8 kB / 5.014 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/15.62, allocations: 4 kB / 5.014 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-05/15.62, allocations: 22.52 kB / 5.014 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/15.62, allocations: 15.98 kB / 5.014 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/15.62, allocations: 0 / 5.014 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/15.62, allocations: 49.62 kB / 5.014 GB, free: 66.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/15.62, allocations: 7.953 kB / 5.014 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/15.62, allocations: 4 kB / 5.014 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/15.62, allocations: 0 / 5.014 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/15.62, allocations: 8 kB / 5.014 GB, free: 66.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/15.62, allocations: 8.031 kB / 5.014 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/15.62, allocations: 0 / 5.014 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/15.62, allocations: 4 kB / 5.014 GB, free: 66.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 () * 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.349e-05/15.62, allocations: 105 kB / 5.015 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/15.62, allocations: 4 kB / 5.015 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/15.62, allocations: 125.4 kB / 5.015 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.83e-05/15.62, allocations: 188.2 kB / 5.015 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.617e-05/15.62, allocations: 176.3 kB / 5.015 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.629e-05/15.62, allocations: 180.2 kB / 5.015 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/15.62, allocations: 385.7 kB / 5.016 GB, free: 65.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/15.62, allocations: 105 kB / 5.016 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/15.62, allocations: 101 kB / 5.016 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.005e-05/15.62, allocations: 184.2 kB / 5.016 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/15.62, allocations: 180.3 kB / 5.016 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.925e-05/15.62, allocations: 176.3 kB / 5.016 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.871e-05/15.62, allocations: 184.2 kB / 5.016 GB, free: 64.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/15.62, allocations: 311.8 kB / 5.017 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/15.62, allocations: 186 kB / 5.017 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/15.62, allocations: 188.2 kB / 5.017 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/15.62, allocations: 101 kB / 5.017 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/15.62, allocations: 188.2 kB / 5.017 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/15.62, allocations: 102 kB / 5.017 GB, free: 63.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.628e-05/15.62, allocations: 91.27 kB / 5.018 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/15.62, allocations: 0 / 5.018 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007944/15.62, allocations: 139.8 kB / 5.018 GB, free: 62.97 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 () * 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.002137/15.63, allocations: 0.8892 MB / 5.019 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001215/15.63, allocations: 15.94 kB / 5.019 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/15.63, allocations: 3.938 kB / 5.019 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/15.63, allocations: 0 / 5.019 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/15.63, allocations: 0.5226 MB / 5.019 GB, free: 61.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/15.63, allocations: 135.2 kB / 5.019 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/15.63, allocations: 0.6768 MB / 5.02 GB, free: 60.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.457e-05/15.63, allocations: 4 kB / 5.02 GB, free: 60.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/15.63, allocations: 19.42 kB / 5.02 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/15.63, allocations: 0 / 5.02 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.01031/15.64, allocations: 5.101 MB / 5.025 GB, free: 55.55 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile (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)