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.001106/0.001106, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001159/0.001159, allocations: 195 kB / 17.98 MB, free: 5.027 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3155, allocations: 76.14 MB / 0.5576 GB, free: 36.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001968/0.3175, allocations: 1.248 MB / 0.5588 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1426/0.4602, allocations: 137.7 MB / 0.6932 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.4602, allocations: 4 kB / 0.6932 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.4603, allocations: 3.938 kB / 0.6932 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.4604, allocations: 3.938 kB / 0.6932 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.462, allocations: 466.4 kB / 0.6937 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.4621, allocations: 47.77 kB / 0.6937 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.4621, allocations: 0 / 0.6937 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.4622, allocations: 19.98 kB / 0.6937 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.4623, allocations: 23.91 kB / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.4623, allocations: 0 / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.4639, allocations: 0.827 MB / 0.6946 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.4639, allocations: 11.98 kB / 0.6946 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.4639, allocations: 15.92 kB / 0.6946 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.4645, allocations: 448.8 kB / 0.695 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4645, allocations: 0 / 0.695 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4645, allocations: 4 kB / 0.695 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.4645, allocations: 0 / 0.695 GB, free: 7.309 MB / 0.5294 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.0004496/0.465, allocations: 367.5 kB / 0.6954 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.465, allocations: 12.03 kB / 0.6954 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.4652, allocations: 12.84 kB / 0.6954 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.4653, allocations: 160.4 kB / 0.6956 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.4653, allocations: 384 / 0.6956 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.4654, allocations: 20.11 kB / 0.6956 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4655, allocations: 61.55 kB / 0.6956 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4655, allocations: 0 / 0.6956 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4655, allocations: 8 kB / 0.6956 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4656, allocations: 0 / 0.6956 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.4656, allocations: 15.97 kB / 0.6957 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.4658, allocations: 161.7 kB / 0.6958 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4659, allocations: 54.62 kB / 0.6959 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.4659, allocations: 28.72 kB / 0.6959 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.4767, allocations: 3.209 MB / 0.699 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4768, allocations: 30.56 kB / 0.6991 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.4768, allocations: 0 / 0.6991 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.04106/0.5178, allocations: 15 MB / 0.7137 GB, free: 3.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.5179, allocations: 55.34 kB / 0.7138 GB, free: 3.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.518, allocations: 97.86 kB / 0.7139 GB, free: 3.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.518, allocations: 25.7 kB / 0.7139 GB, free: 3.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.518, allocations: 80.14 kB / 0.714 GB, free: 3.504 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.5181, allocations: 47.3 kB / 0.714 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.5181, allocations: 33.7 kB / 0.714 GB, free: 3.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5183, allocations: 322.9 kB / 0.7143 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.5183, allocations: 19.98 kB / 0.7144 GB, free: 3.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.5184, allocations: 27.98 kB / 0.7144 GB, free: 3.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.5185, allocations: 56.8 kB / 0.7144 GB, free: 2.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.5185, allocations: 0 / 0.7144 GB, free: 2.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002194/0.5187, allocations: 109.7 kB / 0.7145 GB, free: 2.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5188, allocations: 4 kB / 0.7145 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5188, allocations: 3.938 kB / 0.7145 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5188, allocations: 0 / 0.7145 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5189, allocations: 27.98 kB / 0.7146 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5189, allocations: 3.938 kB / 0.7146 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.519, allocations: 12 kB / 0.7146 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.519, allocations: 4 kB / 0.7146 GB, free: 2.82 MB / 0.545 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 7.86e-05/0.5191, allocations: 113.8 kB / 0.7147 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.5191, allocations: 7.906 kB / 0.7147 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.5194, allocations: 125.5 kB / 0.7148 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5194, allocations: 0 / 0.7148 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5194, allocations: 3.984 kB / 0.7148 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5194, allocations: 3.938 kB / 0.7148 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.5196, allocations: 181.6 kB / 0.715 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5196, allocations: 0 / 0.715 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.5197, allocations: 20 kB / 0.715 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5197, allocations: 3.984 kB / 0.715 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5197, allocations: 8 kB / 0.715 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5197, allocations: 4 kB / 0.715 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5197, allocations: 0 / 0.715 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.52, allocations: 152.9 kB / 0.7152 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.5201, allocations: 89.09 kB / 0.7153 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.5201, allocations: 3.938 kB / 0.7153 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.5203, allocations: 12 kB / 0.7153 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.5203, allocations: 11.98 kB / 0.7153 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5203, allocations: 7.938 kB / 0.7153 GB, free: 1.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.5204, allocations: 87.27 kB / 0.7154 GB, free: 1.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5204, allocations: 0 / 0.7154 GB, free: 1.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001573/0.522, allocations: 0.5585 MB / 0.7159 GB, free: 1.34 MB / 0.545 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.003349/0.5253, allocations: 347.2 kB / 0.7163 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.5255, allocations: 74.34 kB / 0.7163 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5255, allocations: 0 / 0.7163 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.5256, allocations: 37.95 kB / 0.7164 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.5258, allocations: 16.72 kB / 0.7164 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.5263, allocations: 345.8 kB / 0.7167 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5266, allocations: 0.6846 MB / 0.7174 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.106e-05/0.5267, allocations: 28.47 kB / 0.7174 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.5268, allocations: 19.44 kB / 0.7174 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.5268, allocations: 0 / 0.7174 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.03344/0.5602, allocations: 24.25 MB / 0.7411 GB, free: 7.496 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)