Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7858/0.7858, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 183.2 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009604, allocations: 97.23 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001736/0.001736, allocations: 263.4 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005235, allocations: 23.98 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3871, allocations: 79.28 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.75/1.137, allocations: 414.7 MB / 1.144 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.137, allocations: 82.88 kB / 1.144 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4327/1.57, allocations: 36.26 MB / 1.18 GB, free: 236.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/1.57, allocations: 0 / 1.18 GB, free: 236.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.57, allocations: 3.938 kB / 1.18 GB, free: 236.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006047/1.571, allocations: 367.6 kB / 1.18 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.571, allocations: 7.938 kB / 1.18 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/1.571, allocations: 20.69 kB / 1.18 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/1.571, allocations: 166.2 kB / 1.18 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.571, allocations: 6.844 kB / 1.18 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.571, allocations: 7.438 kB / 1.18 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/1.571, allocations: 58.36 kB / 1.18 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.571, allocations: 192 / 1.18 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.571, allocations: 3.938 kB / 1.18 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.571, allocations: 3.984 kB / 1.181 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/1.571, allocations: 21.52 kB / 1.181 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/1.572, allocations: 167 kB / 1.181 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/1.572, allocations: 46.77 kB / 1.181 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/1.572, allocations: 26.23 kB / 1.181 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008634/1.58, allocations: 3.134 MB / 1.184 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.58, allocations: 30.56 kB / 1.184 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/1.58, allocations: 0 / 1.184 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02597/1.606, allocations: 13.45 MB / 1.197 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.607, allocations: 54.16 kB / 1.197 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/1.607, allocations: 97.86 kB / 1.197 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/1.607, allocations: 27.95 kB / 1.197 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/1.607, allocations: 80.14 kB / 1.197 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/1.607, allocations: 37.8 kB / 1.197 GB, free: 232 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/1.607, allocations: 4 kB / 1.197 GB, free: 232 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/1.607, allocations: 317.9 kB / 1.198 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/1.607, allocations: 24.84 kB / 1.198 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/1.607, allocations: 25.5 kB / 1.198 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/1.607, allocations: 62.78 kB / 1.198 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/1.607, allocations: 4.125 kB / 1.198 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001986/1.607, allocations: 107.2 kB / 1.198 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.607, allocations: 9.625 kB / 1.198 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.607, allocations: 0 / 1.198 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.607, allocations: 0 / 1.198 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.607, allocations: 27.59 kB / 1.198 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.607, allocations: 0 / 1.198 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/1.607, allocations: 7.25 kB / 1.198 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/1.607, allocations: 4 kB / 1.198 GB, free: 231.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.342e-05/1.608, allocations: 113.6 kB / 1.198 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/1.608, allocations: 7.938 kB / 1.198 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/1.608, allocations: 130.2 kB / 1.198 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.608, allocations: 3.75 kB / 1.198 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.608, allocations: 4.562 kB / 1.198 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.608, allocations: 3.938 kB / 1.198 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/1.608, allocations: 172.3 kB / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.608, allocations: 3.938 kB / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/1.608, allocations: 28.84 kB / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/1.608, allocations: 4 kB / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/1.608, allocations: 3.656 kB / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.608, allocations: 0 / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.608, allocations: 0 / 1.198 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/1.608, allocations: 155 kB / 1.198 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/1.609, allocations: 98.06 kB / 1.199 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.609, allocations: 0 / 1.199 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/1.609, allocations: 17.97 kB / 1.199 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/1.609, allocations: 7.609 kB / 1.199 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.609, allocations: 13.3 kB / 1.199 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.278e-05/1.609, allocations: 79.28 kB / 1.199 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.609, allocations: 0 / 1.199 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002151/1.611, allocations: 0.6033 MB / 1.199 GB, free: 230.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.004366/1.615, allocations: 0.7493 MB / 1.2 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002485/1.616, allocations: 67.12 kB / 1.2 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.616, allocations: 4 kB / 1.2 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/1.616, allocations: 47.02 kB / 1.2 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.616, allocations: 6.938 kB / 1.2 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/1.617, allocations: 409.5 kB / 1.2 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/1.617, allocations: 0.6844 MB / 1.201 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001006/1.617, allocations: 24.59 kB / 1.201 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/1.617, allocations: 19.14 kB / 1.201 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.964e-06/1.617, allocations: 0 / 1.201 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.04184/1.659, allocations: 30.22 MB / 1.231 GB, free: 209.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)