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.5991/0.5991, allocations: 95.62 MB / 110.6 MB, free: 9.391 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.001228/0.001227, allocations: 168.2 kB / 134.2 MB, free: 2.27 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.854/1.854, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.002069/0.002068, allocations: 115.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004152, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 61.52 MB / 0.512 GB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.31/14.51, allocations: 5.121 GB / 5.633 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/14.51, allocations: 79.59 kB / 5.633 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1522/14.67, allocations: 76.15 MB / 5.708 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.546e-06/14.67, allocations: 0 / 5.708 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.595e-06/14.67, allocations: 0 / 5.708 GB, free: 107.1 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.000964/14.67, allocations: 0.4917 MB / 5.708 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/14.67, allocations: 15.98 kB / 5.708 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/14.67, allocations: 7.906 kB / 5.708 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/14.67, allocations: 171 kB / 5.708 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/14.67, allocations: 4 kB / 5.708 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/14.67, allocations: 11.95 kB / 5.708 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/14.67, allocations: 97.62 kB / 5.708 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/14.67, allocations: 0 / 5.708 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/14.67, allocations: 4 kB / 5.708 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/14.67, allocations: 4 kB / 5.708 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/14.67, allocations: 123.8 kB / 5.708 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/14.67, allocations: 352.5 kB / 5.709 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/14.67, allocations: 106.5 kB / 5.709 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/14.67, allocations: 332.4 kB / 5.709 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/14.67, allocations: 34.56 kB / 5.709 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/14.67, allocations: 4 kB / 5.709 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0003233/14.67, allocations: 148.2 kB / 5.709 GB, free: 105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/14.67, allocations: 59.34 kB / 5.709 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/14.67, allocations: 96.98 kB / 5.71 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/14.67, allocations: 25.7 kB / 5.71 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/14.67, allocations: 88.2 kB / 5.71 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/14.67, allocations: 51.2 kB / 5.71 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/14.67, allocations: 4 kB / 5.71 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/14.67, allocations: 322.8 kB / 5.71 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/14.67, allocations: 28.03 kB / 5.71 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/14.67, allocations: 55.97 kB / 5.71 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/14.67, allocations: 31.98 kB / 5.71 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/14.67, allocations: 0 / 5.71 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001851/14.67, allocations: 135.8 kB / 5.71 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/14.67, allocations: 8.062 kB / 5.71 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/14.67, allocations: 4 kB / 5.71 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/14.67, allocations: 0 / 5.71 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/14.67, allocations: 43.91 kB / 5.71 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/14.67, allocations: 0 / 5.71 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/14.67, allocations: 15.84 kB / 5.71 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/14.67, allocations: 4 kB / 5.71 GB, free: 104 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 (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 7.86e-05/14.67, allocations: 121.8 kB / 5.71 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/14.67, allocations: 11.95 kB / 5.71 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/14.67, allocations: 161.4 kB / 5.711 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/14.67, allocations: 4 kB / 5.711 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/14.67, allocations: 0 / 5.711 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/14.67, allocations: 0 / 5.711 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/14.67, allocations: 197.5 kB / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/14.67, allocations: 4 kB / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/14.67, allocations: 39.91 kB / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/14.67, allocations: 7.953 kB / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/14.67, allocations: 0 / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/14.67, allocations: 0 / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/14.67, allocations: 0 / 5.711 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/14.67, allocations: 217.1 kB / 5.711 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/14.67, allocations: 89.12 kB / 5.711 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/14.67, allocations: 15.95 kB / 5.711 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/14.67, allocations: 7.984 kB / 5.711 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/14.67, allocations: 15.92 kB / 5.711 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/14.67, allocations: 7.984 kB / 5.711 GB, free: 103 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.004e-05/14.67, allocations: 79.28 kB / 5.711 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/14.67, allocations: 0 / 5.711 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001125/14.67, allocations: 239.7 kB / 5.711 GB, free: 102.7 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 (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.00166/14.67, allocations: 0.8431 MB / 5.712 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001956/14.67, allocations: 95.83 kB / 5.712 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/14.67, allocations: 0 / 5.712 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/14.67, allocations: 52.03 kB / 5.712 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/14.67, allocations: 12 kB / 5.712 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/14.67, allocations: 227 kB / 5.713 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/14.68, allocations: 0.6931 MB / 5.713 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001203/14.68, allocations: 32.42 kB / 5.713 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/14.68, allocations: 23.44 kB / 5.713 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/14.68, allocations: 0 / 5.713 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01502/14.69, allocations: 11.46 MB / 5.725 GB, free: 89.2 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)