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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 193 kB / 16.53 MB, free: 6.391 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001987, allocations: 294.5 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 92.12 kB / 0.5952 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2047, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.003047/0.2078, allocations: 1.259 MB / 0.6814 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4829/0.6907, allocations: 137.7 MB / 0.8159 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.6907, allocations: 1.438 kB / 0.8159 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.6908, allocations: 3.938 kB / 0.8159 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.6908, allocations: 6.281 kB / 0.8159 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.6919, allocations: 465.6 kB / 0.8163 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.6919, allocations: 39.83 kB / 0.8164 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.723e-05/0.692, allocations: 4.812 kB / 0.8164 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.692, allocations: 21.55 kB / 0.8164 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.6921, allocations: 20.95 kB / 0.8164 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.6921, allocations: 3.219 kB / 0.8164 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.6933, allocations: 0.8085 MB / 0.8172 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.6933, allocations: 13.64 kB / 0.8172 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.6933, allocations: 19.86 kB / 0.8172 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.6938, allocations: 443.6 kB / 0.8177 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.6938, allocations: 0 / 0.8177 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6938, allocations: 1.25 kB / 0.8177 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6938, allocations: 0 / 0.8177 GB, free: 2.188 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.0004744/0.6943, allocations: 368.2 kB / 0.818 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.6943, allocations: 11.16 kB / 0.818 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.6945, allocations: 10.03 kB / 0.818 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.6946, allocations: 174.6 kB / 0.8182 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6946, allocations: 3.875 kB / 0.8182 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.6946, allocations: 7.625 kB / 0.8182 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.6947, allocations: 53.73 kB / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.6947, allocations: 1.625 kB / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.6948, allocations: 0 / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6948, allocations: 4.266 kB / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.6948, allocations: 18.88 kB / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.6949, allocations: 161.3 kB / 0.8184 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.695, allocations: 62.48 kB / 0.8185 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.6951, allocations: 16.33 kB / 0.8185 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.7071, allocations: 3.169 MB / 0.8216 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.7072, allocations: 40.06 kB / 0.8216 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.7072, allocations: 0 / 0.8216 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.05442/0.7616, allocations: 14.87 MB / 0.8362 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.7617, allocations: 54.16 kB / 0.8362 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.7617, allocations: 95.05 kB / 0.8363 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7618, allocations: 36.39 kB / 0.8364 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.7618, allocations: 84.27 kB / 0.8364 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.762, allocations: 43.27 kB / 0.8365 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.762, allocations: 30.09 kB / 0.8365 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7622, allocations: 320.3 kB / 0.8368 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.7623, allocations: 17.91 kB / 0.8368 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.7623, allocations: 25.98 kB / 0.8368 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.7625, allocations: 67.52 kB / 0.8369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7625, allocations: 1.375 kB / 0.8369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002925/0.7628, allocations: 103.2 kB / 0.837 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7629, allocations: 8.875 kB / 0.837 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7629, allocations: 0 / 0.837 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7629, allocations: 0 / 0.837 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.763, allocations: 31.77 kB / 0.8371 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.7631, allocations: 0 / 0.8371 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.7631, allocations: 2.281 kB / 0.8371 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.7631, allocations: 6.031 kB / 0.8371 GB, free: 12.4 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.0001038/0.7632, allocations: 121.7 kB / 0.8372 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.7633, allocations: 5.656 kB / 0.8372 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.7637, allocations: 128.6 kB / 0.8373 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7637, allocations: 1.203 kB / 0.8373 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7637, allocations: 0 / 0.8373 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7637, allocations: 6.5 kB / 0.8373 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.7639, allocations: 179 kB / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7639, allocations: 0 / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.7641, allocations: 30.98 kB / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7641, allocations: 3.312 kB / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.7641, allocations: 0 / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7641, allocations: 0 / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7641, allocations: 2.781 kB / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.7645, allocations: 154.1 kB / 0.8377 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.7646, allocations: 90.92 kB / 0.8378 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.7646, allocations: 2.406 kB / 0.8378 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.7648, allocations: 19.11 kB / 0.8378 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.7648, allocations: 9.234 kB / 0.8378 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.7649, allocations: 5.625 kB / 0.8378 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.7649, allocations: 77.25 kB / 0.8379 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7649, allocations: 0 / 0.8379 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002137/0.7671, allocations: 0.5658 MB / 0.8384 GB, free: 11.7 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.003793/0.7709, allocations: 354.9 kB / 0.8388 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.771, allocations: 71.89 kB / 0.8388 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7711, allocations: 0 / 0.8388 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.7711, allocations: 44.67 kB / 0.8389 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.7713, allocations: 17.62 kB / 0.8389 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.7719, allocations: 348.8 kB / 0.8392 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.7721, allocations: 0.6869 MB / 0.8399 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.7722, allocations: 26.81 kB / 0.8399 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.7723, allocations: 14.28 kB / 0.8399 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.7723, allocations: 0 / 0.8399 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.03604/0.8083, allocations: 24.27 MB / 0.8636 GB, free: 7.145 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)