Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8091/0.8091, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 188.6 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 96.08 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 279.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.69e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4058, allocations: 82.77 MB / 0.7573 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.394/4.799, allocations: 1.881 GB / 2.638 GB, free: 138.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/4.8, allocations: 70.78 kB / 2.639 GB, free: 138.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09445/4.894, allocations: 47.38 MB / 2.685 GB, free: 99.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/4.894, allocations: 0 / 2.685 GB, free: 99.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.13e-05/4.894, allocations: 4 kB / 2.685 GB, free: 99.82 MB / 0.698 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.001114/4.895, allocations: 0.5423 MB / 2.685 GB, free: 99.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/4.895, allocations: 8.031 kB / 2.685 GB, free: 99.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/4.897, allocations: 143.8 kB / 2.685 GB, free: 99.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/4.897, allocations: 221 kB / 2.686 GB, free: 98.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/4.897, allocations: 4 kB / 2.686 GB, free: 98.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/4.897, allocations: 12 kB / 2.686 GB, free: 98.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005058/4.898, allocations: 313.9 kB / 2.686 GB, free: 98.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/4.898, allocations: 284.1 kB / 2.686 GB, free: 98.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/4.898, allocations: 4 kB / 2.686 GB, free: 98.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/4.898, allocations: 0 / 2.686 GB, free: 98.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/4.898, allocations: 15.98 kB / 2.686 GB, free: 98.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/4.9, allocations: 1.094 MB / 2.687 GB, free: 97.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/4.9, allocations: 184.3 kB / 2.688 GB, free: 97.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/4.9, allocations: 71.2 kB / 2.688 GB, free: 97.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003684/4.901, allocations: 369.5 kB / 2.688 GB, free: 96.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/4.901, allocations: 38.06 kB / 2.688 GB, free: 96.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.983e-06/4.901, allocations: 0 / 2.688 GB, free: 96.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0004737/4.901, allocations: 174.8 kB / 2.688 GB, free: 96.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/4.901, allocations: 55.41 kB / 2.688 GB, free: 96.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/4.901, allocations: 149.2 kB / 2.688 GB, free: 96.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/4.901, allocations: 29.7 kB / 2.688 GB, free: 96.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/4.901, allocations: 149.1 kB / 2.689 GB, free: 96.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/4.901, allocations: 71.88 kB / 2.689 GB, free: 95.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/4.901, allocations: 0 / 2.689 GB, free: 95.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/4.902, allocations: 323.5 kB / 2.689 GB, free: 95.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/4.902, allocations: 62.06 kB / 2.689 GB, free: 95.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/4.902, allocations: 155.5 kB / 2.689 GB, free: 95.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/4.902, allocations: 87.06 kB / 2.689 GB, free: 95.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/4.902, allocations: 0 / 2.689 GB, free: 95.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004284/4.902, allocations: 248.3 kB / 2.689 GB, free: 95.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/4.902, allocations: 8 kB / 2.689 GB, free: 95.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/4.902, allocations: 4 kB / 2.689 GB, free: 95.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/4.903, allocations: 4 kB / 2.689 GB, free: 95.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/4.903, allocations: 62.47 kB / 2.69 GB, free: 95.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/4.903, allocations: 4 kB / 2.69 GB, free: 95.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/4.903, allocations: 15.84 kB / 2.69 GB, free: 95.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/4.903, allocations: 18.42 kB / 2.69 GB, free: 95.03 MB / 0.698 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 8.407e-05/4.903, allocations: 112.9 kB / 2.69 GB, free: 94.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/4.903, allocations: 23.77 kB / 2.69 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/4.904, allocations: 219 kB / 2.69 GB, free: 94.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/4.904, allocations: 7.984 kB / 2.69 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/4.904, allocations: 0 / 2.69 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/4.904, allocations: 0 / 2.69 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/4.904, allocations: 495.4 kB / 2.69 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/4.904, allocations: 0 / 2.69 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/4.904, allocations: 39.92 kB / 2.69 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/4.904, allocations: 0 / 2.69 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/4.904, allocations: 0 / 2.69 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/4.904, allocations: 7.953 kB / 2.69 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/4.904, allocations: 0 / 2.69 GB, free: 94.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/4.905, allocations: 312.4 kB / 2.691 GB, free: 93.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/4.905, allocations: 112.9 kB / 2.691 GB, free: 93.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/4.905, allocations: 4 kB / 2.691 GB, free: 93.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/4.905, allocations: 15.89 kB / 2.691 GB, free: 93.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/4.905, allocations: 7.984 kB / 2.691 GB, free: 93.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/4.905, allocations: 19.98 kB / 2.691 GB, free: 93.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.212e-05/4.905, allocations: 117.8 kB / 2.691 GB, free: 93.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/4.905, allocations: 0 / 2.691 GB, free: 93.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006042/4.906, allocations: 139.9 kB / 2.691 GB, free: 93.37 MB / 0.698 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.0009778/4.907, allocations: 0.7211 MB / 2.692 GB, free: 92.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003012/4.907, allocations: 169.3 kB / 2.692 GB, free: 92.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/4.907, allocations: 7.938 kB / 2.692 GB, free: 92.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/4.907, allocations: 79.92 kB / 2.692 GB, free: 92.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/4.908, allocations: 43.95 kB / 2.692 GB, free: 92.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/4.908, allocations: 237 kB / 2.692 GB, free: 92.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/4.909, allocations: 0.7365 MB / 2.693 GB, free: 91.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002961/4.909, allocations: 53.81 kB / 2.693 GB, free: 91.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/4.909, allocations: 23.44 kB / 2.693 GB, free: 91.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/4.909, allocations: 0 / 2.693 GB, free: 91.26 MB / 0.698 GB Notification: Performance of Templates: time 0.01225/4.921, allocations: 6.927 MB / 2.7 GB, free: 84.37 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)