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.001301/0.001301, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001445/0.001445, allocations: 188.6 kB / 16.25 MB, free: 6.633 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002169, allocations: 279 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9636/0.9636, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.00164, allocations: 84.84 kB / 0.5947 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.158, allocations: 86.99 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002201/0.1603, allocations: 1.32 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4726/0.6329, allocations: 135.7 MB / 0.8135 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.633, allocations: 0 / 0.8135 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.633, allocations: 2.766 kB / 0.8135 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.6331, allocations: 9.125 kB / 0.8135 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6342, allocations: 411.5 kB / 0.8139 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.6342, allocations: 40.67 kB / 0.8139 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.6343, allocations: 4.156 kB / 0.8139 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.6343, allocations: 24.12 kB / 0.8139 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.6344, allocations: 17.91 kB / 0.8139 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6344, allocations: 3.672 kB / 0.8139 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.6356, allocations: 0.8092 MB / 0.8147 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.6356, allocations: 9.031 kB / 0.8147 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.6356, allocations: 20.94 kB / 0.8148 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.6361, allocations: 444.5 kB / 0.8152 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6361, allocations: 5.125 kB / 0.8152 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6361, allocations: 1.203 kB / 0.8152 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.6362, allocations: 0 / 0.8152 GB, free: 1.5 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.0005307/0.6367, allocations: 364.6 kB / 0.8155 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6367, allocations: 10.97 kB / 0.8156 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.6369, allocations: 13.69 kB / 0.8156 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.637, allocations: 174.1 kB / 0.8157 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.637, allocations: 2.562 kB / 0.8157 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.6371, allocations: 14.41 kB / 0.8157 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.6372, allocations: 54.84 kB / 0.8158 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.6372, allocations: 0.875 kB / 0.8158 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6372, allocations: 3.438 kB / 0.8158 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.6372, allocations: 0 / 0.8158 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.6373, allocations: 17.67 kB / 0.8158 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.6374, allocations: 159.9 kB / 0.816 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.6375, allocations: 56.52 kB / 0.816 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.6376, allocations: 20.72 kB / 0.816 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.648, allocations: 3.169 MB / 0.8191 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.648, allocations: 31.81 kB / 0.8192 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.648, allocations: 0.9375 kB / 0.8192 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.03795/0.686, allocations: 14.87 MB / 0.8337 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6861, allocations: 53.53 kB / 0.8337 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.6861, allocations: 103.7 kB / 0.8338 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.6862, allocations: 25.7 kB / 0.8339 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.6862, allocations: 86.36 kB / 0.8339 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.6863, allocations: 33.88 kB / 0.834 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.6863, allocations: 40.05 kB / 0.834 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6864, allocations: 318.5 kB / 0.8343 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.6865, allocations: 20.62 kB / 0.8343 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.6865, allocations: 34.33 kB / 0.8344 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.6867, allocations: 63.53 kB / 0.8344 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6867, allocations: 0 / 0.8344 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000197/0.6869, allocations: 102.2 kB / 0.8345 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6869, allocations: 5.125 kB / 0.8345 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6869, allocations: 3.188 kB / 0.8345 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6869, allocations: 7.938 kB / 0.8345 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6871, allocations: 28.17 kB / 0.8346 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6871, allocations: 0.5469 kB / 0.8346 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.6871, allocations: 0 / 0.8346 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.6871, allocations: 8.094 kB / 0.8346 GB, free: 12.09 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 0.0001266/0.6873, allocations: 120.7 kB / 0.8347 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.6873, allocations: 2.906 kB / 0.8347 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.6876, allocations: 133.6 kB / 0.8348 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6876, allocations: 3.062 kB / 0.8348 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6876, allocations: 2.375 kB / 0.8348 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6876, allocations: 0 / 0.8348 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.6878, allocations: 177.8 kB / 0.835 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6878, allocations: 1.203 kB / 0.835 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.6879, allocations: 27.67 kB / 0.835 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6879, allocations: 0 / 0.835 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6879, allocations: 7.219 kB / 0.835 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6879, allocations: 0 / 0.835 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6879, allocations: 0 / 0.835 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.6882, allocations: 158.3 kB / 0.8352 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.6883, allocations: 91.42 kB / 0.8353 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.6883, allocations: 2.562 kB / 0.8353 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.6885, allocations: 18.58 kB / 0.8353 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.6885, allocations: 3.953 kB / 0.8353 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6885, allocations: 12.52 kB / 0.8353 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.6885, allocations: 75.28 kB / 0.8354 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6885, allocations: 0 / 0.8354 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001805/0.6904, allocations: 0.5693 MB / 0.8359 GB, free: 11.39 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.003596/0.694, allocations: 353.7 kB / 0.8363 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.6941, allocations: 73.31 kB / 0.8363 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6942, allocations: 4 kB / 0.8364 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.6942, allocations: 41.3 kB / 0.8364 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.6944, allocations: 10.62 kB / 0.8364 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.695, allocations: 365.5 kB / 0.8367 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.6953, allocations: 0.6887 MB / 0.8374 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.619e-05/0.6954, allocations: 18.67 kB / 0.8374 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.6954, allocations: 20.05 kB / 0.8375 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.6954, allocations: 4 kB / 0.8375 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.03375/0.7292, allocations: 24.27 MB / 0.8612 GB, free: 7.355 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)