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.001088/0.001088, allocations: 101 kB / 15.98 MB, free: 6.348 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.001184/0.001184, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8457/0.8457, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001289, allocations: 63.91 kB / 0.4906 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3629, allocations: 77.91 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.00255/0.3655, allocations: 1.321 MB / 0.568 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1477/0.5133, allocations: 135.7 MB / 0.7005 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.5134, allocations: 0 / 0.7005 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.5134, allocations: 0 / 0.7005 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.5135, allocations: 3.984 kB / 0.7005 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.5149, allocations: 405.5 kB / 0.7009 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.515, allocations: 43.84 kB / 0.7009 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.515, allocations: 0 / 0.7009 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.5151, allocations: 23.92 kB / 0.7009 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.5152, allocations: 23.91 kB / 0.701 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.5152, allocations: 4 kB / 0.701 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.5167, allocations: 0.8075 MB / 0.7017 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.5167, allocations: 8 kB / 0.7018 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.5167, allocations: 23.91 kB / 0.7018 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.5174, allocations: 453 kB / 0.7022 GB, free: 15.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5174, allocations: 0 / 0.7022 GB, free: 15.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5175, allocations: 4 kB / 0.7022 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5175, allocations: 0 / 0.7022 GB, free: 15.77 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.0006252/0.5181, allocations: 371.4 kB / 0.7026 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5182, allocations: 8.625 kB / 0.7026 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.5184, allocations: 8.938 kB / 0.7026 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.5185, allocations: 164.4 kB / 0.7027 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5186, allocations: 4.375 kB / 0.7027 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.5186, allocations: 8.125 kB / 0.7028 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.5188, allocations: 57.67 kB / 0.7028 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5188, allocations: 0 / 0.7028 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5188, allocations: 4 kB / 0.7028 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5188, allocations: 0 / 0.7028 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.5189, allocations: 19.92 kB / 0.7028 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.5191, allocations: 169.6 kB / 0.703 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.5193, allocations: 54.53 kB / 0.703 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.5193, allocations: 20.8 kB / 0.7031 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.5303, allocations: 3.17 MB / 0.7062 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.5304, allocations: 34.56 kB / 0.7062 GB, free: 11.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.5304, allocations: 3.938 kB / 0.7062 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04113/0.5715, allocations: 14.85 MB / 0.7207 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5716, allocations: 55.41 kB / 0.7208 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.5717, allocations: 93.84 kB / 0.7208 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.5717, allocations: 29.7 kB / 0.7209 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.5717, allocations: 88.08 kB / 0.721 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.5718, allocations: 39.39 kB / 0.721 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.5718, allocations: 29.72 kB / 0.721 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.572, allocations: 326.9 kB / 0.7213 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.572, allocations: 20 kB / 0.7214 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.5721, allocations: 29.8 kB / 0.7214 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.5722, allocations: 64.84 kB / 0.7214 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5722, allocations: 0 / 0.7214 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002079/0.5724, allocations: 100.2 kB / 0.7215 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5724, allocations: 4 kB / 0.7215 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5725, allocations: 0 / 0.7215 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5725, allocations: 4 kB / 0.7215 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5726, allocations: 27.98 kB / 0.7216 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.5726, allocations: 4 kB / 0.7216 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.5726, allocations: 0 / 0.7216 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.5727, allocations: 8 kB / 0.7216 GB, free: 11.47 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 8.999e-05/0.5728, allocations: 126.4 kB / 0.7217 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.5728, allocations: 3.906 kB / 0.7217 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.5731, allocations: 129.5 kB / 0.7218 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5731, allocations: 3.938 kB / 0.7218 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5731, allocations: 4 kB / 0.7218 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5731, allocations: 0 / 0.7218 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.5733, allocations: 173.6 kB / 0.722 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5733, allocations: 0 / 0.722 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.5734, allocations: 31.92 kB / 0.722 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5734, allocations: 0 / 0.722 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.5734, allocations: 0 / 0.722 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5734, allocations: 0 / 0.722 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5734, allocations: 11.94 kB / 0.722 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.5737, allocations: 150.8 kB / 0.7222 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.5738, allocations: 89.14 kB / 0.7223 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.5738, allocations: 4 kB / 0.7223 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.574, allocations: 11.98 kB / 0.7223 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.574, allocations: 19.92 kB / 0.7223 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.5741, allocations: 4 kB / 0.7223 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.5741, allocations: 75.28 kB / 0.7224 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5741, allocations: 0 / 0.7224 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001583/0.5757, allocations: 0.5624 MB / 0.7229 GB, free: 9.992 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.002895/0.5786, allocations: 359.1 kB / 0.7233 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.5788, allocations: 75.91 kB / 0.7234 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5788, allocations: 0 / 0.7234 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.5789, allocations: 31.98 kB / 0.7234 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.5791, allocations: 19.03 kB / 0.7234 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.5797, allocations: 372.5 kB / 0.7238 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.5799, allocations: 0.6846 MB / 0.7244 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.748e-05/0.58, allocations: 24.55 kB / 0.7244 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.5801, allocations: 15.42 kB / 0.7245 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5801, allocations: 0 / 0.7245 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.03999/0.6201, allocations: 24.24 MB / 0.7481 GB, free: 140 kB / 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)