Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.9 MB / 297.4 MB, free: 6.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001056, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007961/0.0007962, allocations: 84.45 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.336e-05, allocations: 3.984 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.5847, allocations: 116.3 MB / 0.9732 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.185/4.769, allocations: 2.077 GB / 3.05 GB, free: 8.129 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/4.77, allocations: 71.83 kB / 3.05 GB, free: 8.094 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5801/5.35, allocations: 49.76 MB / 3.099 GB, free: 337.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/5.35, allocations: 0 / 3.099 GB, free: 337.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.947e-06/5.35, allocations: 4.438 kB / 3.099 GB, free: 337.8 MB / 0.948 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.0009788/5.351, allocations: 0.56 MB / 3.099 GB, free: 337.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/5.351, allocations: 12.66 kB / 3.099 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/5.352, allocations: 131.7 kB / 3.1 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/5.352, allocations: 226.8 kB / 3.1 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/5.352, allocations: 6.219 kB / 3.1 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/5.352, allocations: 14.47 kB / 3.1 GB, free: 337 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000469/5.353, allocations: 319.7 kB / 3.1 GB, free: 336.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/5.353, allocations: 277.4 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/5.353, allocations: 0 / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/5.353, allocations: 2.25 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/5.353, allocations: 9.688 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/5.354, allocations: 1.096 MB / 3.101 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/5.355, allocations: 191.3 kB / 3.102 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/5.355, allocations: 71.7 kB / 3.102 GB, free: 335.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/5.355, allocations: 357.9 kB / 3.102 GB, free: 335.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/5.355, allocations: 37.31 kB / 3.102 GB, free: 335.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/5.355, allocations: 0 / 3.102 GB, free: 335.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0004194/5.356, allocations: 173.4 kB / 3.102 GB, free: 335.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/5.356, allocations: 60.69 kB / 3.102 GB, free: 335.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/5.356, allocations: 145.5 kB / 3.102 GB, free: 335.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/5.356, allocations: 25.7 kB / 3.102 GB, free: 335.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/5.356, allocations: 144.8 kB / 3.103 GB, free: 335 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/5.356, allocations: 70.25 kB / 3.103 GB, free: 335 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/5.356, allocations: 1.375 kB / 3.103 GB, free: 335 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/5.356, allocations: 327.5 kB / 3.103 GB, free: 334.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/5.356, allocations: 59.09 kB / 3.103 GB, free: 334.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/5.356, allocations: 157.1 kB / 3.103 GB, free: 334.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/5.356, allocations: 82.73 kB / 3.103 GB, free: 334.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/5.356, allocations: 5.344 kB / 3.103 GB, free: 334.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003863/5.357, allocations: 246.1 kB / 3.103 GB, free: 334.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/5.357, allocations: 11.55 kB / 3.103 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/5.357, allocations: 3.062 kB / 3.103 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/5.357, allocations: 4.812 kB / 3.103 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/5.357, allocations: 54.67 kB / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/5.357, allocations: 6.188 kB / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/5.357, allocations: 23.28 kB / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/5.357, allocations: 18.56 kB / 3.104 GB, free: 334.4 MB / 0.948 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 () * 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 6.619e-05/5.357, allocations: 115.9 kB / 3.104 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/5.357, allocations: 11.06 kB / 3.104 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/5.358, allocations: 215.4 kB / 3.104 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/5.358, allocations: 5.969 kB / 3.104 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.358, allocations: 2.906 kB / 3.104 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/5.358, allocations: 1 kB / 3.104 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/5.358, allocations: 494.6 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/5.358, allocations: 7.281 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/5.359, allocations: 31.56 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/5.359, allocations: 6.688 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/5.359, allocations: 1.375 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/5.359, allocations: 1.375 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/5.359, allocations: 1.375 kB / 3.104 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/5.359, allocations: 310.6 kB / 3.105 GB, free: 333.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/5.359, allocations: 118.2 kB / 3.105 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/5.359, allocations: 1.469 kB / 3.105 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/5.359, allocations: 14.33 kB / 3.105 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/5.359, allocations: 13.55 kB / 3.105 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/5.359, allocations: 11.55 kB / 3.105 GB, free: 333.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.588e-05/5.359, allocations: 117.1 kB / 3.105 GB, free: 333.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/5.359, allocations: 3.938 kB / 3.105 GB, free: 333.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005514/5.36, allocations: 139.1 kB / 3.105 GB, free: 333.3 MB / 0.948 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 () * 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.0008459/5.361, allocations: 0.7111 MB / 3.106 GB, free: 333.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002794/5.361, allocations: 170 kB / 3.106 GB, free: 333.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/5.361, allocations: 5.781 kB / 3.106 GB, free: 333.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/5.361, allocations: 80.25 kB / 3.106 GB, free: 333 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/5.362, allocations: 48.44 kB / 3.106 GB, free: 333 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/5.362, allocations: 231.4 kB / 3.106 GB, free: 332.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/5.362, allocations: 0.7343 MB / 3.107 GB, free: 332.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002663/5.362, allocations: 55 kB / 3.107 GB, free: 332.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/5.363, allocations: 19.38 kB / 3.107 GB, free: 332.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/5.363, allocations: 1.906 kB / 3.107 GB, free: 332.2 MB / 0.948 GB Notification: Performance of Templates: time 0.01072/5.373, allocations: 6.826 MB / 3.114 GB, free: 329.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & ./Buildings_8_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)