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.001001/0.001001, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001251/0.001251, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 262.8 kB / 291.3 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9603/0.9603, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 10.44 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001116/0.1389, allocations: 0.9708 MB / 0.6854 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3979/0.5368, allocations: 124.9 MB / 0.8074 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.5369, allocations: 0 / 0.8074 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.5369, allocations: 2.625 kB / 0.8074 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.537, allocations: 8.016 kB / 0.8074 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.5378, allocations: 363.8 kB / 0.8078 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.5379, allocations: 32.23 kB / 0.8078 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.5379, allocations: 6.75 kB / 0.8078 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.538, allocations: 19.11 kB / 0.8078 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.5381, allocations: 21.66 kB / 0.8078 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.5381, allocations: 1.406 kB / 0.8078 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.5395, allocations: 0.7762 MB / 0.8086 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.5395, allocations: 7.375 kB / 0.8086 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.5396, allocations: 31.91 kB / 0.8086 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.54, allocations: 284.3 kB / 0.8089 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.54, allocations: 0.5625 kB / 0.8089 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.54, allocations: 0.5625 kB / 0.8089 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.54, allocations: 4 kB / 0.8089 GB, free: 17.28 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.0004288/0.5405, allocations: 360.1 kB / 0.8093 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5405, allocations: 9.906 kB / 0.8093 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5407, allocations: 14.25 kB / 0.8093 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.5408, allocations: 164.1 kB / 0.8094 GB, free: 16.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5408, allocations: 5.688 kB / 0.8094 GB, free: 16.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.5408, allocations: 7.594 kB / 0.8094 GB, free: 16.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.541, allocations: 58.12 kB / 0.8095 GB, free: 16.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.541, allocations: 4 kB / 0.8095 GB, free: 16.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.541, allocations: 8.281 kB / 0.8095 GB, free: 16.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.541, allocations: 1.062 kB / 0.8095 GB, free: 16.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.5411, allocations: 17.67 kB / 0.8095 GB, free: 16.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.5412, allocations: 164.6 kB / 0.8097 GB, free: 16.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.5414, allocations: 53.58 kB / 0.8097 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.5414, allocations: 17.02 kB / 0.8098 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009465/0.5509, allocations: 3.212 MB / 0.8129 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.5509, allocations: 35.53 kB / 0.8129 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.5509, allocations: 0 / 0.8129 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03212/0.5831, allocations: 14.26 MB / 0.8268 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.5831, allocations: 53.16 kB / 0.8269 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.466e-05/0.5832, allocations: 92.98 kB / 0.827 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.5832, allocations: 28.64 kB / 0.827 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.5832, allocations: 84.08 kB / 0.8271 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5833, allocations: 47.41 kB / 0.8271 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5833, allocations: 2.125 kB / 0.8271 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5834, allocations: 317.3 kB / 0.8274 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.5835, allocations: 22.27 kB / 0.8275 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.5835, allocations: 23.45 kB / 0.8275 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.5836, allocations: 23.81 kB / 0.8275 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5836, allocations: 0 / 0.8275 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002002/0.5838, allocations: 110.8 kB / 0.8276 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5838, allocations: 2.844 kB / 0.8276 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5838, allocations: 0 / 0.8276 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5838, allocations: 5.75 kB / 0.8276 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.584, allocations: 26.09 kB / 0.8277 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.584, allocations: 3.953 kB / 0.8277 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.584, allocations: 9.703 kB / 0.8277 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.584, allocations: 1.75 kB / 0.8277 GB, free: 10.98 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.5841, allocations: 114.9 kB / 0.8278 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.5842, allocations: 2.875 kB / 0.8278 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.5844, allocations: 133.3 kB / 0.8279 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5844, allocations: 1.781 kB / 0.8279 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5845, allocations: 3.312 kB / 0.8279 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5845, allocations: 3.953 kB / 0.8279 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.5846, allocations: 175.9 kB / 0.8281 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5846, allocations: 0 / 0.8281 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.5847, allocations: 26.58 kB / 0.8281 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5847, allocations: 4 kB / 0.8281 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5848, allocations: 5.969 kB / 0.8281 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.5848, allocations: 3.938 kB / 0.8281 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5848, allocations: 0 / 0.8281 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.5851, allocations: 155.1 kB / 0.8283 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.5851, allocations: 91.69 kB / 0.8284 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.5852, allocations: 96 / 0.8284 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.5853, allocations: 22.27 kB / 0.8284 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.5853, allocations: 10.41 kB / 0.8284 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5853, allocations: 8.906 kB / 0.8284 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.5854, allocations: 75.28 kB / 0.8285 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5854, allocations: 0 / 0.8285 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001836/0.5872, allocations: 0.5657 MB / 0.829 GB, free: 10.29 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002772/0.59, allocations: 353.2 kB / 0.8294 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.5902, allocations: 73.41 kB / 0.8294 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5902, allocations: 0 / 0.8294 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.5903, allocations: 37.55 kB / 0.8295 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.5905, allocations: 6.797 kB / 0.8295 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.5911, allocations: 418.4 kB / 0.8299 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.5913, allocations: 0.6838 MB / 0.8305 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.5914, allocations: 31.34 kB / 0.8306 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.5914, allocations: 17.19 kB / 0.8306 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5914, allocations: 0 / 0.8306 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of Templates: time 0.03451/0.6259, allocations: 25.65 MB / 0.8556 GB, free: 2.949 MB / 0.5762 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)