Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001272/0.001272, allocations: 195.8 kB / 16.14 MB, free: 6.637 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002684/0.002684, allocations: 286.7 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 94.45 kB / 0.6057 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1701, allocations: 89.15 MB / 0.6928 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002443/0.1725, allocations: 1.331 MB / 0.6941 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4537/0.6263, allocations: 135.7 MB / 0.8266 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.6263, allocations: 4 kB / 0.8266 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.6264, allocations: 3.984 kB / 0.8266 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.6265, allocations: 4.906 kB / 0.8266 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.6276, allocations: 373.5 kB / 0.8269 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.6276, allocations: 31.8 kB / 0.827 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.935e-05/0.6277, allocations: 2.344 kB / 0.827 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.6277, allocations: 34.75 kB / 0.827 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.6278, allocations: 15.98 kB / 0.827 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.6278, allocations: 2.312 kB / 0.827 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.6292, allocations: 0.8158 MB / 0.8278 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.6293, allocations: 16.08 kB / 0.8278 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.6293, allocations: 18.92 kB / 0.8278 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.6299, allocations: 441.9 kB / 0.8283 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6299, allocations: 3.938 kB / 0.8283 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6299, allocations: 2.688 kB / 0.8283 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.6299, allocations: 0 / 0.8283 GB, free: 5.621 MB / 0.5606 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.0005179/0.6305, allocations: 365.9 kB / 0.8286 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6305, allocations: 12.66 kB / 0.8286 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.6307, allocations: 12.66 kB / 0.8286 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6308, allocations: 165.4 kB / 0.8288 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.6308, allocations: 10.77 kB / 0.8288 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.6309, allocations: 3.75 kB / 0.8288 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.631, allocations: 62.45 kB / 0.8289 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.631, allocations: 0 / 0.8289 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6311, allocations: 1.375 kB / 0.8289 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6311, allocations: 0 / 0.8289 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.6311, allocations: 19.27 kB / 0.8289 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.6313, allocations: 167.4 kB / 0.829 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.6315, allocations: 51.55 kB / 0.8291 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.6315, allocations: 12.52 kB / 0.8291 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.6419, allocations: 3.176 MB / 0.8322 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.6419, allocations: 35.59 kB / 0.8322 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.642, allocations: 0 / 0.8322 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0374/0.6794, allocations: 14.87 MB / 0.8468 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.6794, allocations: 51.41 kB / 0.8468 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.6795, allocations: 101.8 kB / 0.8469 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.6795, allocations: 29.83 kB / 0.8469 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.6796, allocations: 84.12 kB / 0.847 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.6796, allocations: 43.31 kB / 0.8471 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.6797, allocations: 33.7 kB / 0.8471 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6798, allocations: 318.8 kB / 0.8474 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.6799, allocations: 16 kB / 0.8474 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.68, allocations: 27.98 kB / 0.8474 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.6801, allocations: 66.34 kB / 0.8475 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6801, allocations: 7.938 kB / 0.8475 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/0.6803, allocations: 105.7 kB / 0.8476 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6804, allocations: 5.406 kB / 0.8476 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6804, allocations: 0 / 0.8476 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6804, allocations: 0 / 0.8476 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.6805, allocations: 23.98 kB / 0.8476 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6805, allocations: 0 / 0.8476 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.6805, allocations: 4 kB / 0.8476 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.6806, allocations: 7.938 kB / 0.8477 GB, free: 13.14 MB / 0.5762 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.922e-05/0.6807, allocations: 125.7 kB / 0.8478 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.6807, allocations: 11.89 kB / 0.8478 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.681, allocations: 117.6 kB / 0.8479 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.681, allocations: 0 / 0.8479 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.681, allocations: 0 / 0.8479 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.681, allocations: 3.984 kB / 0.8479 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.6812, allocations: 181.6 kB / 0.8481 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6812, allocations: 3.938 kB / 0.8481 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6813, allocations: 27.92 kB / 0.8481 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6814, allocations: 0 / 0.8481 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.6814, allocations: 9.875 kB / 0.8481 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6814, allocations: 0 / 0.8481 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6814, allocations: 0 / 0.8481 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.6817, allocations: 164.1 kB / 0.8483 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.6818, allocations: 89.14 kB / 0.8484 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6818, allocations: 0 / 0.8484 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.682, allocations: 15.98 kB / 0.8484 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.682, allocations: 7.938 kB / 0.8484 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.682, allocations: 11.98 kB / 0.8484 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.6821, allocations: 75.28 kB / 0.8485 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6821, allocations: 4 kB / 0.8485 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002031/0.6841, allocations: 0.5625 MB / 0.849 GB, free: 11.64 MB / 0.5762 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.003603/0.6877, allocations: 347 kB / 0.8493 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.6879, allocations: 67.91 kB / 0.8494 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6879, allocations: 3.938 kB / 0.8494 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.688, allocations: 35.98 kB / 0.8495 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.6882, allocations: 12.5 kB / 0.8495 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.6889, allocations: 367 kB / 0.8498 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6892, allocations: 0.6926 MB / 0.8505 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.834e-05/0.6893, allocations: 16.61 kB / 0.8505 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.6894, allocations: 15.44 kB / 0.8505 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of SimCode: time 2.114e-06/0.6894, allocations: 0 / 0.8505 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.03932/0.7287, allocations: 24.23 MB / 0.8742 GB, free: 1.82 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)