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 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.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.9855/0.9855, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001265/0.001265, allocations: 181 kB / 191.5 MB, free: 5.754 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.619/1.619, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.00105/0.00105, allocations: 88.33 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 270.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.00048, allocations: 16.36 kB / 0.6929 GB, free: 59.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.531/1.737, allocations: 416.5 MB / 1.18 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/1.738, allocations: 79.17 kB / 1.181 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08567/1.823, allocations: 36.81 MB / 1.216 GB, free: 231 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.715e-06/1.823, allocations: 0 / 1.216 GB, free: 231 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.824, allocations: 0 / 1.216 GB, free: 231 MB / 0.7136 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.0007034/1.824, allocations: 370.3 kB / 1.217 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.824, allocations: 8.031 kB / 1.217 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/1.824, allocations: 12.38 kB / 1.217 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/1.825, allocations: 167 kB / 1.217 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.825, allocations: 0 / 1.217 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/1.825, allocations: 15.59 kB / 1.217 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/1.825, allocations: 52.47 kB / 1.217 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.825, allocations: 0 / 1.217 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/1.825, allocations: 2.812 kB / 1.217 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.825, allocations: 7.75 kB / 1.217 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/1.825, allocations: 15.31 kB / 1.217 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/1.825, allocations: 170.9 kB / 1.217 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.964e-05/1.825, allocations: 53.36 kB / 1.217 GB, free: 230 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009539/1.835, allocations: 3.134 MB / 1.22 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/1.835, allocations: 38.31 kB / 1.22 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/1.835, allocations: 0 / 1.22 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.02779/1.863, allocations: 13.45 MB / 1.234 GB, free: 216.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.863, allocations: 58.91 kB / 1.234 GB, free: 216.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/1.863, allocations: 85 kB / 1.234 GB, free: 216.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.863, allocations: 25.7 kB / 1.234 GB, free: 216.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/1.863, allocations: 87.89 kB / 1.234 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/1.863, allocations: 38.7 kB / 1.234 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/1.863, allocations: 3.625 kB / 1.234 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/1.863, allocations: 318.8 kB / 1.234 GB, free: 215.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/1.863, allocations: 22.48 kB / 1.234 GB, free: 215.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.68e-05/1.863, allocations: 22.95 kB / 1.234 GB, free: 215.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/1.863, allocations: 26.84 kB / 1.234 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/1.863, allocations: 0 / 1.234 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000194/1.863, allocations: 109.9 kB / 1.234 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.864, allocations: 8 kB / 1.234 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.864, allocations: 0 / 1.234 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.864, allocations: 0 / 1.234 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/1.864, allocations: 27.8 kB / 1.234 GB, free: 215.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.864, allocations: 0 / 1.234 GB, free: 215.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/1.864, allocations: 3.562 kB / 1.234 GB, free: 215.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.864, allocations: 7.938 kB / 1.234 GB, free: 215.6 MB / 0.7136 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 8.496e-05/1.864, allocations: 129.6 kB / 1.234 GB, free: 215.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/1.864, allocations: 4 kB / 1.234 GB, free: 215.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/1.864, allocations: 129.7 kB / 1.235 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.864, allocations: 7.938 kB / 1.235 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.864, allocations: 0 / 1.235 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.864, allocations: 0 / 1.235 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.864, allocations: 176.6 kB / 1.235 GB, free: 215.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.864, allocations: 3.562 kB / 1.235 GB, free: 215.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.864, allocations: 27.69 kB / 1.235 GB, free: 215.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.865, allocations: 4 kB / 1.235 GB, free: 215.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.865, allocations: 7.5 kB / 1.235 GB, free: 215.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.865, allocations: 0 / 1.235 GB, free: 215.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/1.865, allocations: 0 / 1.235 GB, free: 215.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/1.865, allocations: 147.9 kB / 1.235 GB, free: 215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/1.865, allocations: 92.27 kB / 1.235 GB, free: 214.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.865, allocations: 11.17 kB / 1.235 GB, free: 214.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.865, allocations: 12 kB / 1.235 GB, free: 214.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/1.865, allocations: 15.05 kB / 1.235 GB, free: 214.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.865, allocations: 7.844 kB / 1.235 GB, free: 214.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.845e-05/1.865, allocations: 79.28 kB / 1.235 GB, free: 214.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/1.865, allocations: 0 / 1.235 GB, free: 214.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002621/1.868, allocations: 0.596 MB / 1.236 GB, free: 214.3 MB / 0.7136 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.003272/1.871, allocations: 0.7589 MB / 1.236 GB, free: 213.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001872/1.871, allocations: 61.78 kB / 1.237 GB, free: 213.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.871, allocations: 0 / 1.237 GB, free: 213.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/1.871, allocations: 34.98 kB / 1.237 GB, free: 213.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/1.872, allocations: 7.953 kB / 1.237 GB, free: 213.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/1.872, allocations: 408.3 kB / 1.237 GB, free: 213.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/1.872, allocations: 0.6884 MB / 1.238 GB, free: 212.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.332e-05/1.872, allocations: 24.92 kB / 1.238 GB, free: 212.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/1.872, allocations: 23 kB / 1.238 GB, free: 212.4 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/1.872, allocations: 0 / 1.238 GB, free: 212.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.04417/1.917, allocations: 27.3 MB / 1.264 GB, free: 185.7 MB / 0.7136 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)