Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 99.75 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001914, allocations: 191.6 kB / 17.87 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8018/0.8018, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 64.12 kB / 0.4948 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 78.57 MB / 0.5715 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002233/0.3639, allocations: 1.249 MB / 0.5727 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1532/0.5171, allocations: 137.7 MB / 0.7072 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.5172, allocations: 0 / 0.7072 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.5173, allocations: 0 / 0.7072 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.5174, allocations: 7.922 kB / 0.7072 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.5193, allocations: 458.3 kB / 0.7076 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/0.5194, allocations: 47.89 kB / 0.7077 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.5194, allocations: 0 / 0.7077 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.5195, allocations: 27.86 kB / 0.7077 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.5196, allocations: 23.91 kB / 0.7077 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.5196, allocations: 0 / 0.7077 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.5211, allocations: 0.8037 MB / 0.7085 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.5211, allocations: 7.984 kB / 0.7085 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.5212, allocations: 19.92 kB / 0.7085 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.5218, allocations: 441.1 kB / 0.7089 GB, free: 10.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5218, allocations: 0 / 0.7089 GB, free: 10.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5218, allocations: 4 kB / 0.709 GB, free: 10.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5218, allocations: 0 / 0.709 GB, free: 10.32 MB / 0.545 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.0005741/0.5224, allocations: 379.3 kB / 0.7093 GB, free: 9.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5225, allocations: 8.031 kB / 0.7093 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.5226, allocations: 16.92 kB / 0.7093 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.5228, allocations: 160.4 kB / 0.7095 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.5228, allocations: 8.375 kB / 0.7095 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.5228, allocations: 8.125 kB / 0.7095 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.523, allocations: 57.67 kB / 0.7096 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.523, allocations: 0 / 0.7096 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.523, allocations: 0 / 0.7096 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.523, allocations: 4 kB / 0.7096 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.5231, allocations: 19.92 kB / 0.7096 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.5233, allocations: 169.6 kB / 0.7097 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5234, allocations: 50.62 kB / 0.7098 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.5234, allocations: 20.8 kB / 0.7098 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.5348, allocations: 3.17 MB / 0.7129 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.5349, allocations: 34.56 kB / 0.7129 GB, free: 5.977 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.5349, allocations: 0 / 0.7129 GB, free: 5.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04375/0.5786, allocations: 14.87 MB / 0.7275 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5787, allocations: 51.41 kB / 0.7275 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.5788, allocations: 89.86 kB / 0.7276 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5788, allocations: 33.7 kB / 0.7276 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.5789, allocations: 80.14 kB / 0.7277 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.5789, allocations: 39.39 kB / 0.7277 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.579, allocations: 33.7 kB / 0.7278 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5792, allocations: 318.9 kB / 0.7281 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.5792, allocations: 27.98 kB / 0.7281 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.5793, allocations: 23.98 kB / 0.7281 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.5794, allocations: 60.8 kB / 0.7282 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5794, allocations: 0 / 0.7282 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002567/0.5797, allocations: 112.5 kB / 0.7283 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5797, allocations: 8 kB / 0.7283 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5797, allocations: 0 / 0.7283 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5797, allocations: 0 / 0.7283 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5799, allocations: 27.98 kB / 0.7283 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5799, allocations: 0 / 0.7283 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.5799, allocations: 7.938 kB / 0.7283 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.5799, allocations: 8 kB / 0.7283 GB, free: 6.004 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.58, allocations: 122.4 kB / 0.7285 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.5801, allocations: 4 kB / 0.7285 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.5804, allocations: 124.3 kB / 0.7286 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5804, allocations: 4 kB / 0.7286 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5804, allocations: 0 / 0.7286 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5804, allocations: 3.938 kB / 0.7286 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.5806, allocations: 177.6 kB / 0.7288 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5806, allocations: 0 / 0.7288 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5807, allocations: 27.98 kB / 0.7288 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5807, allocations: 0 / 0.7288 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5807, allocations: 4 kB / 0.7288 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5808, allocations: 7.922 kB / 0.7288 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5808, allocations: 4 kB / 0.7288 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.5811, allocations: 149 kB / 0.7289 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.5812, allocations: 89.05 kB / 0.729 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.5812, allocations: 7.984 kB / 0.729 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5814, allocations: 8 kB / 0.729 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.5814, allocations: 7.984 kB / 0.7291 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.5814, allocations: 15.94 kB / 0.7291 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.5815, allocations: 75.28 kB / 0.7291 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5815, allocations: 0 / 0.7291 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001744/0.5832, allocations: 0.5663 MB / 0.7297 GB, free: 4.516 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002866/0.5861, allocations: 355.1 kB / 0.73 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.5863, allocations: 67.97 kB / 0.7301 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5863, allocations: 0 / 0.7301 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.5864, allocations: 35.94 kB / 0.7301 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.5866, allocations: 26.44 kB / 0.7302 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.5873, allocations: 367.6 kB / 0.7305 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5876, allocations: 0.6885 MB / 0.7312 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.5877, allocations: 23.42 kB / 0.7312 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.5877, allocations: 0 / 0.7312 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of Templates: time 0.02402/0.6117, allocations: 14.32 MB / 0.7452 GB, free: 4.633 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)