Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007552/0.007553, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.045/3.045, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 14.91 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3746, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001989/0.3766, allocations: 0.992 MB / 1.075 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1769/0.5536, allocations: 134.2 MB / 1.206 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.5537, allocations: 0 / 1.206 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.5537, allocations: 4 kB / 1.206 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.5538, allocations: 7.922 kB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.555, allocations: 362.8 kB / 1.207 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.5551, allocations: 43.91 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.5551, allocations: 0 / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.5552, allocations: 27.86 kB / 1.207 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.5552, allocations: 19.97 kB / 1.207 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.5553, allocations: 3.938 kB / 1.207 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.5566, allocations: 0.8154 MB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.5566, allocations: 15.88 kB / 1.207 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.5567, allocations: 49.61 kB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.5573, allocations: 431.4 kB / 1.208 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5573, allocations: 0 / 1.208 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.417e-06/0.5574, allocations: 4 kB / 1.208 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.5574, allocations: 0 / 1.208 GB, free: 14.03 MB / 0.9669 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.0006084/0.558, allocations: 359.5 kB / 1.208 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.558, allocations: 8.031 kB / 1.208 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.5583, allocations: 16.83 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5584, allocations: 164.3 kB / 1.208 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5584, allocations: 8.375 kB / 1.208 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.5585, allocations: 8.125 kB / 1.208 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5586, allocations: 57.61 kB / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5586, allocations: 0 / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5587, allocations: 0 / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5587, allocations: 4 kB / 1.208 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.5587, allocations: 19.98 kB / 1.208 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.5589, allocations: 169.6 kB / 1.209 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.559, allocations: 46.56 kB / 1.209 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.5591, allocations: 20.8 kB / 1.209 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.5703, allocations: 3.205 MB / 1.212 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.5704, allocations: 38.55 kB / 1.212 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.5704, allocations: 0 / 1.212 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04075/0.6112, allocations: 14.25 MB / 1.226 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.6113, allocations: 51.41 kB / 1.226 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.6114, allocations: 93.84 kB / 1.226 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.6114, allocations: 33.7 kB / 1.226 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.6115, allocations: 80.14 kB / 1.226 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.6116, allocations: 39.36 kB / 1.226 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.6116, allocations: 17.72 kB / 1.226 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6118, allocations: 322.9 kB / 1.226 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.6118, allocations: 23.98 kB / 1.226 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.6119, allocations: 30.98 kB / 1.226 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.612, allocations: 56.8 kB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.612, allocations: 3.984 kB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002258/0.6123, allocations: 101.7 kB / 1.227 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6123, allocations: 5.562 kB / 1.227 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6123, allocations: 3.938 kB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6123, allocations: 3.938 kB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6125, allocations: 27.98 kB / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6125, allocations: 3.938 kB / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.6125, allocations: 8 kB / 1.227 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.6125, allocations: 0 / 1.227 GB, free: 10.32 MB / 0.9825 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.0001194/0.6127, allocations: 118.4 kB / 1.227 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.6127, allocations: 7.906 kB / 1.227 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.613, allocations: 125.5 kB / 1.227 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6131, allocations: 0 / 1.227 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6131, allocations: 0 / 1.227 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6131, allocations: 3.938 kB / 1.227 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.6133, allocations: 181.6 kB / 1.227 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6133, allocations: 0 / 1.227 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.6134, allocations: 23.98 kB / 1.227 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6134, allocations: 0 / 1.227 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.6134, allocations: 11.98 kB / 1.227 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6134, allocations: 4 kB / 1.227 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6135, allocations: 3.938 kB / 1.227 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.6138, allocations: 157.1 kB / 1.227 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.6139, allocations: 85.14 kB / 1.227 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.6139, allocations: 3.938 kB / 1.227 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.614, allocations: 23.98 kB / 1.227 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.6141, allocations: 4 kB / 1.227 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.6141, allocations: 15.92 kB / 1.227 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.6141, allocations: 75.28 kB / 1.227 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6141, allocations: 0 / 1.227 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001842/0.616, allocations: 0.5624 MB / 1.228 GB, free: 8.828 MB / 0.9825 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.002808/0.6188, allocations: 363 kB / 1.228 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.619, allocations: 63.05 kB / 1.228 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.619, allocations: 8 kB / 1.228 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.6191, allocations: 31.98 kB / 1.228 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.6193, allocations: 15.92 kB / 1.228 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.6201, allocations: 414.3 kB / 1.229 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.6204, allocations: 0.6887 MB / 1.23 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.6206, allocations: 24.55 kB / 1.23 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.6206, allocations: 15.38 kB / 1.23 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.6206, allocations: 0 / 1.23 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of Templates: time 0.6732/1.294, allocations: 24.19 MB / 1.253 GB, free: 178.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)