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/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.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/Buildings 1.6.0+build.1/package.mo): time 0.568/0.568, allocations: 95.62 MB / 110.6 MB, free: 9.352 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.001289/0.001289, allocations: 160.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.677/1.677, allocations: 170.7 MB / 328.4 MB, free: 12.26 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.001725/0.001725, allocations: 122.2 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 61.54 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.82/14.96, allocations: 5.121 GB / 5.633 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/14.96, allocations: 79.34 kB / 5.633 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1393/15.1, allocations: 70.83 MB / 5.702 GB, free: 115 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/15.1, allocations: 0 / 5.702 GB, free: 115 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.695e-06/15.1, allocations: 0 / 5.702 GB, free: 115 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.0005742/15.1, allocations: 415.1 kB / 5.702 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/15.1, allocations: 11.98 kB / 5.702 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/15.1, allocations: 3.984 kB / 5.702 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/15.1, allocations: 167 kB / 5.702 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/15.1, allocations: 29.64 kB / 5.702 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/15.1, allocations: 7.984 kB / 5.702 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/15.1, allocations: 53.62 kB / 5.703 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/15.1, allocations: 0 / 5.703 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/15.1, allocations: 0 / 5.703 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/15.1, allocations: 4 kB / 5.703 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/15.1, allocations: 15.98 kB / 5.703 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/15.11, allocations: 261.4 kB / 5.703 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/15.11, allocations: 30.55 kB / 5.703 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/15.11, allocations: 0 / 5.703 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/15.11, allocations: 34.5 kB / 5.703 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/15.11, allocations: 3.984 kB / 5.703 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/15.11, allocations: 33.77 kB / 5.703 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/15.11, allocations: 59.34 kB / 5.703 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/15.11, allocations: 96.98 kB / 5.703 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/15.11, allocations: 29.83 kB / 5.703 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/15.11, allocations: 91.98 kB / 5.703 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/15.11, allocations: 3.906 kB / 5.703 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/15.11, allocations: 0 / 5.703 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/15.11, allocations: 314.8 kB / 5.703 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/15.11, allocations: 3.984 kB / 5.703 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/15.11, allocations: 26.58 kB / 5.703 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/15.11, allocations: 11.98 kB / 5.704 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/15.11, allocations: 0 / 5.704 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.144e-05/15.11, allocations: 61.58 kB / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/15.11, allocations: 8 kB / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/15.11, allocations: 0 / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/15.11, allocations: 0 / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/15.11, allocations: 8 kB / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/15.11, allocations: 3.938 kB / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/15.11, allocations: 4.094 kB / 5.704 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/15.11, allocations: 4 kB / 5.704 GB, free: 113 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 5.933e-05/15.11, allocations: 113.8 kB / 5.704 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/15.11, allocations: 3.953 kB / 5.704 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/15.11, allocations: 124.8 kB / 5.704 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/15.11, allocations: 180.2 kB / 5.704 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/15.11, allocations: 188.2 kB / 5.704 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/15.11, allocations: 187 kB / 5.704 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/15.11, allocations: 401.2 kB / 5.705 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/15.11, allocations: 105 kB / 5.705 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/15.11, allocations: 104.9 kB / 5.705 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.498e-05/15.11, allocations: 184.2 kB / 5.705 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/15.11, allocations: 180.2 kB / 5.705 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.897e-05/15.11, allocations: 188.3 kB / 5.705 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-05/15.11, allocations: 180.3 kB / 5.706 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.924e-05/15.11, allocations: 307.8 kB / 5.706 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/15.11, allocations: 186 kB / 5.706 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/15.11, allocations: 188.2 kB / 5.706 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/15.11, allocations: 101 kB / 5.706 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/15.11, allocations: 184.2 kB / 5.707 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/15.11, allocations: 105 kB / 5.707 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.218e-05/15.11, allocations: 87.28 kB / 5.707 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/15.11, allocations: 3.938 kB / 5.707 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007154/15.11, allocations: 163.8 kB / 5.707 GB, free: 109.4 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.001268/15.11, allocations: 0.8208 MB / 5.708 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/15.11, allocations: 15.94 kB / 5.708 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/15.11, allocations: 0 / 5.708 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/15.11, allocations: 4 kB / 5.708 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/15.11, allocations: 0.5226 MB / 5.708 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/15.11, allocations: 195.8 kB / 5.708 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/15.11, allocations: 0.677 MB / 5.709 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.954e-05/15.11, allocations: 15.98 kB / 5.709 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/15.11, allocations: 11.44 kB / 5.709 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/15.11, allocations: 0 / 5.709 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.01283/15.12, allocations: 9.736 MB / 5.719 GB, free: 97.32 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile (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)