Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.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.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5829/0.5829, allocations: 94.69 MB / 107.3 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.001057/0.001057, allocations: 175.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.656/1.656, allocations: 170.5 MB / 324.5 MB, free: 4.047 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.001814/0.001815, allocations: 103.9 kB / 386.6 MB, free: 16.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.235e-05/5.239e-05, allocations: 4 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5476, allocations: 61.51 MB / 0.5054 GB, free: 49.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.57/17.11, allocations: 5.121 GB / 5.626 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004446/17.11, allocations: 75.95 kB / 5.627 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6124/17.73, allocations: 75.99 MB / 5.701 GB, free: 151 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.484e-06/17.73, allocations: 0 / 5.701 GB, free: 151 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.429e-05/17.73, allocations: 2.312 kB / 5.701 GB, free: 151 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00127/17.73, allocations: 488.8 kB / 5.701 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.198e-05/17.73, allocations: 17.3 kB / 5.701 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/17.73, allocations: 8.25 kB / 5.701 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/17.73, allocations: 167.8 kB / 5.701 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/17.73, allocations: 6.031 kB / 5.701 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/17.73, allocations: 5.438 kB / 5.701 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/17.73, allocations: 100.8 kB / 5.702 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/17.73, allocations: 0 / 5.702 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/17.73, allocations: 5.5 kB / 5.702 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/17.73, allocations: 3.281 kB / 5.702 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/17.73, allocations: 124.3 kB / 5.702 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/17.73, allocations: 345.5 kB / 5.702 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/17.73, allocations: 103.5 kB / 5.702 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/17.73, allocations: 40.23 kB / 5.702 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/17.73, allocations: 337.7 kB / 5.702 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/17.73, allocations: 47.75 kB / 5.702 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/17.73, allocations: 0 / 5.702 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0003594/17.73, allocations: 118.8 kB / 5.703 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/17.73, allocations: 54.06 kB / 5.703 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/17.73, allocations: 91.69 kB / 5.703 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/17.73, allocations: 32.27 kB / 5.703 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/17.73, allocations: 88.05 kB / 5.703 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/17.73, allocations: 53.7 kB / 5.703 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/17.73, allocations: 5.188 kB / 5.703 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001286/17.73, allocations: 316.2 kB / 5.703 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/17.73, allocations: 30.61 kB / 5.703 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/17.73, allocations: 47.98 kB / 5.703 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/17.73, allocations: 31.97 kB / 5.703 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/17.73, allocations: 0 / 5.703 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002708/17.73, allocations: 134.8 kB / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/17.73, allocations: 6.781 kB / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.299e-05/17.73, allocations: 0 / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/17.73, allocations: 2.469 kB / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/17.73, allocations: 42.05 kB / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/17.73, allocations: 5.828 kB / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/17.73, allocations: 9.562 kB / 5.703 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/17.73, allocations: 13.81 kB / 5.703 GB, free: 148.6 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 (17): * Single equations (assignments): 17 * 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 8.97e-05/17.73, allocations: 119.6 kB / 5.704 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/17.73, allocations: 3.969 kB / 5.704 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/17.73, allocations: 158.7 kB / 5.704 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/17.73, allocations: 1.5 kB / 5.704 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/17.73, allocations: 5.219 kB / 5.704 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/17.73, allocations: 3.953 kB / 5.704 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/17.73, allocations: 193.5 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/17.73, allocations: 2.375 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/17.73, allocations: 42.92 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/17.73, allocations: 0.9688 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/17.73, allocations: 1.5 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/17.73, allocations: 5.109 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/17.73, allocations: 1.312 kB / 5.704 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/17.73, allocations: 229 kB / 5.704 GB, free: 148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/17.73, allocations: 83.52 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/17.73, allocations: 4.266 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/17.73, allocations: 7.906 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/17.73, allocations: 12.58 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/17.73, allocations: 13.78 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.782e-05/17.73, allocations: 77.94 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/17.73, allocations: 1.219 kB / 5.704 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001548/17.74, allocations: 233 kB / 5.705 GB, free: 147.8 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 (16): * Single equations (assignments): 16 * 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.00231/17.74, allocations: 0.8483 MB / 5.705 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003162/17.74, allocations: 89.78 kB / 5.706 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/17.74, allocations: 0 / 5.706 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/17.74, allocations: 54.8 kB / 5.706 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/17.74, allocations: 7.469 kB / 5.706 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/17.74, allocations: 121.8 kB / 5.706 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/17.74, allocations: 0.6923 MB / 5.706 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000154/17.74, allocations: 40.62 kB / 5.706 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/17.74, allocations: 16.41 kB / 5.706 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/17.74, allocations: 0 / 5.706 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.02703/17.77, allocations: 13.39 MB / 5.72 GB, free: 145.4 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe 2>&1)