Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.775/1.775, allocations: 297.8 MB / 313.7 MB, free: 52 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 179.9 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008835, allocations: 92.58 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 12 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 120.3 MB / 1.026 GB, free: 55.7 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.698/5.514, allocations: 1.914 GB / 2.94 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/5.515, allocations: 71.55 kB / 2.94 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1158/5.63, allocations: 48.13 MB / 2.987 GB, free: 276.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.066e-06/5.63, allocations: 0 / 2.987 GB, free: 276.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.327e-05/5.63, allocations: 4 kB / 2.987 GB, free: 276.2 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001345/5.632, allocations: 0.5585 MB / 2.988 GB, free: 275.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/5.632, allocations: 8.031 kB / 2.988 GB, free: 275.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/5.633, allocations: 124.6 kB / 2.988 GB, free: 275.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/5.633, allocations: 228 kB / 2.988 GB, free: 275.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/5.633, allocations: 20.75 kB / 2.988 GB, free: 275.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/5.633, allocations: 20.31 kB / 2.988 GB, free: 275.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/5.634, allocations: 331.6 kB / 2.988 GB, free: 274.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/5.634, allocations: 4.125 kB / 2.988 GB, free: 274.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/5.634, allocations: 11.94 kB / 2.988 GB, free: 274.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/5.634, allocations: 11.98 kB / 2.988 GB, free: 274.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/5.635, allocations: 326.3 kB / 2.989 GB, free: 274.5 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/5.636, allocations: 1.156 MB / 2.99 GB, free: 273.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/5.637, allocations: 187.4 kB / 2.99 GB, free: 273.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/5.637, allocations: 82.11 kB / 2.99 GB, free: 273 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/5.637, allocations: 453.5 kB / 2.99 GB, free: 272.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/5.637, allocations: 34.56 kB / 2.99 GB, free: 272.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=21): time 3.447e-06/5.638, allocations: 8 kB / 2.99 GB, free: 272.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21): time 0.0007396/5.638, allocations: 262.1 kB / 2.991 GB, free: 272.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/5.638, allocations: 52.34 kB / 2.991 GB, free: 272.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/5.639, allocations: 199.2 kB / 2.991 GB, free: 271.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/5.639, allocations: 29.81 kB / 2.991 GB, free: 271.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/5.639, allocations: 151.8 kB / 2.991 GB, free: 271.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/5.639, allocations: 74.98 kB / 2.991 GB, free: 271.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/5.639, allocations: 4 kB / 2.991 GB, free: 271.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000105/5.639, allocations: 326.8 kB / 2.991 GB, free: 271.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/5.639, allocations: 81.55 kB / 2.992 GB, free: 271.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/5.639, allocations: 157.2 kB / 2.992 GB, free: 271 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/5.64, allocations: 240.5 kB / 2.992 GB, free: 270.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/5.64, allocations: 5.688 kB / 2.992 GB, free: 270.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005718/5.64, allocations: 282.2 kB / 2.992 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/5.64, allocations: 8.938 kB / 2.992 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/5.64, allocations: 4 kB / 2.992 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/5.64, allocations: 5.688 kB / 2.992 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/5.641, allocations: 59.91 kB / 2.992 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/5.641, allocations: 4 kB / 2.992 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/5.641, allocations: 39.53 kB / 2.992 GB, free: 270.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/5.641, allocations: 12 kB / 2.992 GB, free: 270.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001854/5.641, allocations: 145.9 kB / 2.992 GB, free: 270.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/5.641, allocations: 23.8 kB / 2.993 GB, free: 270.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/5.642, allocations: 251.5 kB / 2.993 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/5.642, allocations: 4 kB / 2.993 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/5.642, allocations: 0.6562 kB / 2.993 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/5.642, allocations: 3.984 kB / 2.993 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/5.643, allocations: 0.5516 MB / 2.993 GB, free: 269.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/5.643, allocations: 3.125 kB / 2.993 GB, free: 269.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/5.643, allocations: 31.92 kB / 2.993 GB, free: 269.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/5.643, allocations: 4 kB / 2.993 GB, free: 269.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/5.643, allocations: 4 kB / 2.993 GB, free: 269.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/5.643, allocations: 5.125 kB / 2.993 GB, free: 269.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/5.643, allocations: 0 / 2.993 GB, free: 269.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/5.643, allocations: 324.8 kB / 2.994 GB, free: 268.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/5.643, allocations: 120.8 kB / 2.994 GB, free: 268.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/5.644, allocations: 0 / 2.994 GB, free: 268.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/5.644, allocations: 23.92 kB / 2.994 GB, free: 268.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/5.644, allocations: 11.98 kB / 2.994 GB, free: 268.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/5.644, allocations: 15.98 kB / 2.994 GB, free: 268.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001325/5.644, allocations: 150.3 kB / 2.994 GB, free: 268.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.51e-07/5.644, allocations: 0 / 2.994 GB, free: 268.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0009266/5.645, allocations: 159.8 kB / 2.994 GB, free: 268.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001415/5.646, allocations: 0.644 MB / 2.995 GB, free: 267.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004127/5.647, allocations: 194.1 kB / 2.995 GB, free: 267.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/5.647, allocations: 4 kB / 2.995 GB, free: 267.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/5.647, allocations: 84.59 kB / 2.995 GB, free: 267.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/5.648, allocations: 101 kB / 2.995 GB, free: 267.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/5.649, allocations: 0.5395 MB / 2.996 GB, free: 266.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/5.649, allocations: 0.7289 MB / 2.996 GB, free: 266.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004537/5.65, allocations: 62.17 kB / 2.996 GB, free: 266 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/5.65, allocations: 19.44 kB / 2.996 GB, free: 266 MB / 0.9792 GB Notification: Performance of SimCode: time 1.102e-06/5.65, allocations: 0 / 2.996 GB, free: 266 MB / 0.9792 GB Notification: Performance of Templates: time 0.01825/5.668, allocations: 12.22 MB / 3.008 GB, free: 253.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1)