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: 108.4 kB / 17.03 MB, free: 5.699 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.001126/0.001126, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6788/0.6788, allocations: 115.1 MB / 406.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.33, allocations: 76.14 MB / 0.5575 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002392/0.3324, allocations: 1.254 MB / 0.5588 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1416/0.474, allocations: 137.7 MB / 0.6932 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.4741, allocations: 0 / 0.6932 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.4742, allocations: 3.984 kB / 0.6932 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.4743, allocations: 7.938 kB / 0.6932 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.4754, allocations: 462.9 kB / 0.6937 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.4755, allocations: 39.86 kB / 0.6937 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.4756, allocations: 4 kB / 0.6937 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.4756, allocations: 23.91 kB / 0.6937 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.4757, allocations: 19.92 kB / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4757, allocations: 0 / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.477, allocations: 0.8309 MB / 0.6946 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.477, allocations: 11.98 kB / 0.6946 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.4771, allocations: 19.92 kB / 0.6946 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.4777, allocations: 440.8 kB / 0.695 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4777, allocations: 4 kB / 0.695 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4777, allocations: 0 / 0.695 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4777, allocations: 4 kB / 0.695 GB, free: 7.305 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.0004539/0.4781, allocations: 363.5 kB / 0.6954 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4782, allocations: 8.031 kB / 0.6954 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.4784, allocations: 20.81 kB / 0.6954 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.4785, allocations: 164.4 kB / 0.6956 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4785, allocations: 12.31 kB / 0.6956 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.4785, allocations: 12.06 kB / 0.6956 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.4787, allocations: 57.67 kB / 0.6956 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4787, allocations: 0 / 0.6956 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4787, allocations: 4 kB / 0.6956 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4787, allocations: 0 / 0.6956 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.4788, allocations: 15.98 kB / 0.6957 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.479, allocations: 165.7 kB / 0.6958 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.4791, allocations: 54.5 kB / 0.6959 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.4791, allocations: 12.8 kB / 0.6959 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.4893, allocations: 3.217 MB / 0.699 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4894, allocations: 34.55 kB / 0.6991 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4894, allocations: 0 / 0.6991 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.03717/0.5266, allocations: 14.99 MB / 0.7137 GB, free: 3.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.5267, allocations: 51.41 kB / 0.7137 GB, free: 3.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.5267, allocations: 97.84 kB / 0.7138 GB, free: 3.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.5267, allocations: 29.7 kB / 0.7139 GB, free: 3.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.5268, allocations: 80.14 kB / 0.7139 GB, free: 3.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.5268, allocations: 43.3 kB / 0.714 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.5269, allocations: 29.72 kB / 0.714 GB, free: 3.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.527, allocations: 326.9 kB / 0.7143 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.527, allocations: 27.92 kB / 0.7144 GB, free: 3.066 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.5271, allocations: 20 kB / 0.7144 GB, free: 3.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.5272, allocations: 64.78 kB / 0.7144 GB, free: 2.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5272, allocations: 0 / 0.7144 GB, free: 2.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002095/0.5274, allocations: 104.3 kB / 0.7145 GB, free: 2.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5275, allocations: 9.812 kB / 0.7145 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5275, allocations: 3.984 kB / 0.7145 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5275, allocations: 0 / 0.7145 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.5276, allocations: 31.94 kB / 0.7146 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5276, allocations: 0 / 0.7146 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.5277, allocations: 8 kB / 0.7146 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5277, allocations: 3.984 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.169e-05/0.5277, allocations: 117.8 kB / 0.7147 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.5278, allocations: 11.91 kB / 0.7147 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.5281, allocations: 121.5 kB / 0.7148 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5281, allocations: 0 / 0.7148 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5281, allocations: 0 / 0.7148 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5281, allocations: 0 / 0.7148 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.5282, allocations: 185.5 kB / 0.715 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5282, allocations: 0 / 0.715 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.5284, allocations: 23.98 kB / 0.715 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5284, allocations: 0 / 0.715 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5284, allocations: 8 kB / 0.715 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.5284, allocations: 0 / 0.715 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5284, allocations: 4 kB / 0.715 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.5287, allocations: 159.7 kB / 0.7152 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.5288, allocations: 85.14 kB / 0.7153 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.5288, allocations: 4 kB / 0.7153 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5289, allocations: 11.98 kB / 0.7153 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.529, allocations: 15.92 kB / 0.7153 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.529, allocations: 8 kB / 0.7153 GB, free: 1.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.529, allocations: 83.22 kB / 0.7154 GB, free: 1.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.529, allocations: 0 / 0.7154 GB, free: 1.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001598/0.5306, allocations: 0.5624 MB / 0.7159 GB, free: 1.336 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.002733/0.5334, allocations: 351.2 kB / 0.7163 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.5335, allocations: 63.92 kB / 0.7163 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5336, allocations: 0 / 0.7163 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.5336, allocations: 35.92 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.0001741/0.5338, allocations: 15.94 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.0005752/0.5344, allocations: 349.8 kB / 0.7167 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.5347, allocations: 0.6884 MB / 0.7174 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.548e-05/0.5347, allocations: 20.55 kB / 0.7174 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.5348, allocations: 19.42 kB / 0.7174 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5348, allocations: 0 / 0.7174 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.03172/0.5665, allocations: 24.26 MB / 0.7411 GB, free: 7.488 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)