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.5968/0.5968, allocations: 94.69 MB / 107.2 MB, free: 5.18 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.001277/0.001278, allocations: 172.4 kB / 130.7 MB, free: 7.547 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.793/1.793, allocations: 170.5 MB / 324.5 MB, free: 4.051 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.002175/0.002175, allocations: 113.7 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.235e-05/6.237e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6064, allocations: 61.51 MB / 0.5054 GB, free: 49.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.89/18.5, allocations: 5.238 GB / 5.744 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/18.5, allocations: 80.59 kB / 5.744 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1358/18.64, allocations: 61.3 MB / 5.804 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.705e-06/18.64, allocations: 0 / 5.804 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.205e-06/18.64, allocations: 0 / 5.804 GB, free: 130.2 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.0005582/18.64, allocations: 373.4 kB / 5.804 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/18.64, allocations: 9.094 kB / 5.804 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/18.64, allocations: 5.109 kB / 5.804 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/18.64, allocations: 172.4 kB / 5.804 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/18.64, allocations: 27.17 kB / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/18.64, allocations: 1.188 kB / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/18.64, allocations: 48.7 kB / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/18.64, allocations: 0 / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/18.64, allocations: 3.984 kB / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/18.64, allocations: 1.438 kB / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/18.64, allocations: 20.89 kB / 5.804 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/18.64, allocations: 265.5 kB / 5.805 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/18.64, allocations: 25.09 kB / 5.805 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/18.64, allocations: 8.453 kB / 5.805 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/18.64, allocations: 1.594 kB / 5.805 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/18.64, allocations: 32.12 kB / 5.805 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/18.64, allocations: 0 / 5.805 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001647/18.64, allocations: 39.91 kB / 5.805 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/18.64, allocations: 55.34 kB / 5.805 GB, free: 129 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/18.64, allocations: 97.36 kB / 5.805 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/18.64, allocations: 26.98 kB / 5.805 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/18.64, allocations: 86.86 kB / 5.805 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/18.64, allocations: 6.562 kB / 5.805 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/18.64, allocations: 0 / 5.805 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/18.64, allocations: 317.6 kB / 5.805 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/18.64, allocations: 13.89 kB / 5.805 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/18.64, allocations: 20.77 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/18.64, allocations: 5.188 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/18.64, allocations: 0.9375 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.424e-05/18.64, allocations: 55.25 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/18.64, allocations: 9.719 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/18.64, allocations: 0 / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/18.64, allocations: 1.531 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/18.64, allocations: 14.69 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/18.64, allocations: 11.17 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/18.64, allocations: 1.469 kB / 5.805 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/18.64, allocations: 2.094 kB / 5.805 GB, free: 128.4 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 6.659e-05/18.64, allocations: 108.5 kB / 5.806 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/18.64, allocations: 1.656 kB / 5.806 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/18.64, allocations: 134.4 kB / 5.806 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/18.64, allocations: 181.6 kB / 5.806 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-05/18.64, allocations: 181.7 kB / 5.806 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/18.64, allocations: 181.9 kB / 5.806 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/18.64, allocations: 408 kB / 5.807 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/18.64, allocations: 102.2 kB / 5.807 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/18.64, allocations: 110.1 kB / 5.807 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.147e-05/18.64, allocations: 177.7 kB / 5.807 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/18.64, allocations: 185.6 kB / 5.807 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.484e-05/18.64, allocations: 178.8 kB / 5.807 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.874e-05/18.64, allocations: 181.7 kB / 5.807 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/18.64, allocations: 310.3 kB / 5.808 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/18.64, allocations: 185.3 kB / 5.808 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/18.64, allocations: 182.2 kB / 5.808 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/18.64, allocations: 111.2 kB / 5.808 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/18.64, allocations: 185.1 kB / 5.808 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/18.64, allocations: 101 kB / 5.808 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.645e-05/18.64, allocations: 87.73 kB / 5.809 GB, free: 125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/18.64, allocations: 0 / 5.809 GB, free: 125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007514/18.64, allocations: 93.38 kB / 5.809 GB, free: 125 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.001473/18.64, allocations: 0.7203 MB / 5.809 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001049/18.64, allocations: 15.73 kB / 5.809 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/18.64, allocations: 1.438 kB / 5.809 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/18.64, allocations: 0 / 5.809 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/18.64, allocations: 0.5275 MB / 5.81 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/18.64, allocations: 129.7 kB / 5.81 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/18.64, allocations: 0.6779 MB / 5.811 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.759e-05/18.64, allocations: 8.562 kB / 5.811 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/18.65, allocations: 13.53 kB / 5.811 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/18.65, allocations: 0 / 5.811 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.01536/18.66, allocations: 10.94 MB / 5.821 GB, free: 117.5 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)