Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.753/3.753, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002311, allocations: 189.5 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.771/3.771, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001883/0.001883, allocations: 96.09 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006703, allocations: 11.53 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3073, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.43, allocations: 2.205 GB / 3.104 GB, free: 251.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004378/11.43, allocations: 79.06 kB / 3.104 GB, free: 251.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2744/11.71, allocations: 50.76 MB / 3.154 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.227e-06/11.71, allocations: 0 / 3.154 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.375e-05/11.71, allocations: 3.938 kB / 3.154 GB, free: 244.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001994/11.71, allocations: 0.5777 MB / 3.154 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/11.71, allocations: 15.72 kB / 3.154 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/11.71, allocations: 131.4 kB / 3.155 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/11.71, allocations: 220 kB / 3.155 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/11.71, allocations: 15.78 kB / 3.155 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/11.71, allocations: 19.66 kB / 3.155 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/11.71, allocations: 346.5 kB / 3.155 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/11.71, allocations: 7.875 kB / 3.155 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/11.71, allocations: 10.97 kB / 3.155 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/11.71, allocations: 14.72 kB / 3.155 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/11.71, allocations: 311.3 kB / 3.155 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/11.72, allocations: 1.193 MB / 3.157 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/11.72, allocations: 185.5 kB / 3.157 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/11.72, allocations: 80.78 kB / 3.157 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008718/11.72, allocations: 453.5 kB / 3.157 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/11.72, allocations: 42.06 kB / 3.157 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 4.739e-06/11.72, allocations: 0 / 3.157 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.00139/11.72, allocations: 259.6 kB / 3.158 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/11.72, allocations: 55.34 kB / 3.158 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/11.72, allocations: 215.6 kB / 3.158 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/11.72, allocations: 33.36 kB / 3.158 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/11.72, allocations: 149.1 kB / 3.158 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/11.72, allocations: 68.88 kB / 3.158 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/11.72, allocations: 7.5 kB / 3.158 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001006/11.72, allocations: 325.9 kB / 3.158 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/11.72, allocations: 65.22 kB / 3.158 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/11.72, allocations: 167.4 kB / 3.159 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/11.72, allocations: 98.67 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/11.72, allocations: 3.938 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001144/11.72, allocations: 278.4 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/11.72, allocations: 7.75 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/11.72, allocations: 3.906 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/11.72, allocations: 3.906 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/11.72, allocations: 58.03 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/11.72, allocations: 12.09 kB / 3.159 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/11.73, allocations: 42.5 kB / 3.159 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/11.73, allocations: 11.62 kB / 3.159 GB, free: 240.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002724/11.73, allocations: 140.9 kB / 3.159 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/11.73, allocations: 27.16 kB / 3.159 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/11.73, allocations: 236.4 kB / 3.16 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/11.73, allocations: 8.094 kB / 3.16 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/11.73, allocations: 7.875 kB / 3.16 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/11.73, allocations: 0 / 3.16 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/11.73, allocations: 0.5253 MB / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/11.73, allocations: 0 / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/11.73, allocations: 38.64 kB / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/11.73, allocations: 3.938 kB / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/11.73, allocations: 7.641 kB / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/11.73, allocations: 0 / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/11.73, allocations: 7.969 kB / 3.16 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/11.73, allocations: 300 kB / 3.16 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/11.73, allocations: 123.2 kB / 3.16 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/11.73, allocations: 11.66 kB / 3.161 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/11.73, allocations: 7.734 kB / 3.161 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/11.73, allocations: 18.92 kB / 3.161 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/11.73, allocations: 11.66 kB / 3.161 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002581/11.73, allocations: 155.4 kB / 3.161 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/11.73, allocations: 0 / 3.161 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001379/11.73, allocations: 157.8 kB / 3.161 GB, free: 240.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 16 * 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.001658/11.73, allocations: 0.6306 MB / 3.161 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008445/11.74, allocations: 199.2 kB / 3.162 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/11.74, allocations: 0 / 3.162 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/11.74, allocations: 84.61 kB / 3.162 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/11.74, allocations: 100.5 kB / 3.162 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/11.74, allocations: 0.5184 MB / 3.162 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/11.74, allocations: 0.7405 MB / 3.163 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000754/11.74, allocations: 57.16 kB / 3.163 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/11.74, allocations: 23.06 kB / 3.163 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.392e-06/11.74, allocations: 3.938 kB / 3.163 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03849/11.78, allocations: 12.18 MB / 3.175 GB, free: 234.3 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirProperties.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirProperties.pipe 2>&1)