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.6052/0.6052, allocations: 94.69 MB / 107.3 MB, free: 5.176 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.001446/0.001447, allocations: 177.4 kB / 130.7 MB, free: 7.543 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.914/1.914, allocations: 170.5 MB / 324.5 MB, free: 4.062 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.001977/0.001977, allocations: 105.5 kB / 386.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.004e-05/5.037e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6129, allocations: 61.51 MB / 0.5054 GB, free: 49.4 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.11/16.72, allocations: 5.121 GB / 5.626 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/16.72, allocations: 77.23 kB / 5.626 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1413/16.86, allocations: 70.68 MB / 5.695 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.12e-06/16.86, allocations: 0 / 5.695 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.225e-05/16.86, allocations: 0 / 5.695 GB, free: 43.22 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.0007459/16.86, allocations: 422.2 kB / 5.695 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/16.86, allocations: 14 kB / 5.695 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/16.86, allocations: 3.984 kB / 5.695 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/16.86, allocations: 159.1 kB / 5.696 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/16.86, allocations: 29.7 kB / 5.696 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/16.86, allocations: 0 / 5.696 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/16.86, allocations: 49.64 kB / 5.696 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/16.86, allocations: 0 / 5.696 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/16.86, allocations: 7.984 kB / 5.696 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/16.86, allocations: 0 / 5.696 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/16.86, allocations: 27.86 kB / 5.696 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/16.86, allocations: 265.5 kB / 5.696 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/16.86, allocations: 14.58 kB / 5.696 GB, free: 42.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/16.86, allocations: 8.922 kB / 5.696 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/16.86, allocations: 0 / 5.696 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/16.86, allocations: 34.56 kB / 5.696 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/16.86, allocations: 4 kB / 5.696 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001831/16.86, allocations: 33.64 kB / 5.696 GB, free: 42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/16.86, allocations: 51.41 kB / 5.696 GB, free: 41.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/16.86, allocations: 101 kB / 5.696 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/16.86, allocations: 25.7 kB / 5.696 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/16.86, allocations: 91.98 kB / 5.696 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/16.86, allocations: 9.25 kB / 5.696 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/16.86, allocations: 0 / 5.696 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001174/16.86, allocations: 318.8 kB / 5.697 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/16.86, allocations: 0 / 5.697 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/16.86, allocations: 26.58 kB / 5.697 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/16.86, allocations: 7.984 kB / 5.697 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/16.86, allocations: 7.953 kB / 5.697 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.565e-05/16.86, allocations: 57.62 kB / 5.697 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/16.86, allocations: 4 kB / 5.697 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/16.86, allocations: 3.938 kB / 5.697 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/16.86, allocations: 288 / 5.697 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/16.86, allocations: 8 kB / 5.697 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/16.86, allocations: 0 / 5.697 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/16.86, allocations: 4 kB / 5.697 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/16.86, allocations: 1.219 kB / 5.697 GB, free: 41.25 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 7.198e-05/16.86, allocations: 116.9 kB / 5.697 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/16.86, allocations: 7.938 kB / 5.697 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/16.86, allocations: 128.8 kB / 5.697 GB, free: 40.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/16.86, allocations: 180.3 kB / 5.697 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.368e-05/16.86, allocations: 176.3 kB / 5.697 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-05/16.86, allocations: 196.2 kB / 5.698 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/16.86, allocations: 397.2 kB / 5.698 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/16.86, allocations: 112.9 kB / 5.698 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/16.86, allocations: 108.9 kB / 5.698 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.184e-05/16.86, allocations: 180.2 kB / 5.698 GB, free: 39.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/16.86, allocations: 184.2 kB / 5.698 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.736e-05/16.86, allocations: 180.3 kB / 5.699 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.326e-05/16.86, allocations: 186.2 kB / 5.699 GB, free: 39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/16.87, allocations: 299.8 kB / 5.699 GB, free: 38.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/16.87, allocations: 190 kB / 5.699 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/16.87, allocations: 184.2 kB / 5.699 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/16.87, allocations: 108.9 kB / 5.7 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/16.87, allocations: 180.3 kB / 5.7 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/16.87, allocations: 106 kB / 5.7 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.507e-05/16.87, allocations: 87.2 kB / 5.7 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/16.87, allocations: 0 / 5.7 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008122/16.87, allocations: 167.8 kB / 5.7 GB, free: 37.63 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.001496/16.87, allocations: 0.8272 MB / 5.701 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/16.87, allocations: 11.94 kB / 5.701 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/16.87, allocations: 0 / 5.701 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/16.87, allocations: 3.75 kB / 5.701 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/16.87, allocations: 0.5348 MB / 5.701 GB, free: 36.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/16.87, allocations: 119.4 kB / 5.702 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/16.87, allocations: 0.6809 MB / 5.702 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.567e-05/16.87, allocations: 7.984 kB / 5.702 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/16.87, allocations: 11.44 kB / 5.702 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/16.87, allocations: 4 kB / 5.702 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.01618/16.89, allocations: 11.59 MB / 5.714 GB, free: 23.79 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)