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.001047/0.001047, allocations: 104 kB / 16.35 MB, free: 5.824 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.001023/0.001023, allocations: 192.3 kB / 17.29 MB, free: 5.48 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 289 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9062/0.9062, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001805, allocations: 93.88 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1492, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002113/0.1514, allocations: 1.262 MB / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3881/0.5395, allocations: 137.7 MB / 0.8173 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.5395, allocations: 0 / 0.8173 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.5396, allocations: 0 / 0.8173 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.5396, allocations: 3.938 kB / 0.8173 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.5407, allocations: 475.5 kB / 0.8178 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.5408, allocations: 43.89 kB / 0.8178 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.185e-05/0.5408, allocations: 4 kB / 0.8178 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.5409, allocations: 11.98 kB / 0.8178 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.5409, allocations: 27.84 kB / 0.8178 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.5409, allocations: 4 kB / 0.8178 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.5422, allocations: 0.8326 MB / 0.8187 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.5422, allocations: 4 kB / 0.8187 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.5423, allocations: 19.91 kB / 0.8187 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.5428, allocations: 443.2 kB / 0.8191 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5428, allocations: 3.938 kB / 0.8191 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5428, allocations: 0 / 0.8191 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5428, allocations: 0 / 0.8191 GB, free: 1.793 MB / 0.5762 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.000396/0.5432, allocations: 370 kB / 0.8195 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.5433, allocations: 12.03 kB / 0.8195 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.5434, allocations: 9.562 kB / 0.8195 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.5435, allocations: 168.4 kB / 0.8196 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5435, allocations: 4.359 kB / 0.8196 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5436, allocations: 12.22 kB / 0.8197 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.5437, allocations: 57.61 kB / 0.8197 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.5437, allocations: 4 kB / 0.8197 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5437, allocations: 4 kB / 0.8197 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5437, allocations: 0 / 0.8197 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.5438, allocations: 27.91 kB / 0.8197 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.5439, allocations: 161.7 kB / 0.8199 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.544, allocations: 50.55 kB / 0.8199 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.5441, allocations: 17.52 kB / 0.82 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009998/0.5541, allocations: 3.201 MB / 0.8231 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5541, allocations: 42.56 kB / 0.8231 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.5541, allocations: 0 / 0.8231 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03555/0.5897, allocations: 15.01 MB / 0.8378 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.5897, allocations: 55.41 kB / 0.8378 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.676e-05/0.5898, allocations: 93.86 kB / 0.8379 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.5898, allocations: 33.69 kB / 0.838 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.5898, allocations: 80.14 kB / 0.838 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.5899, allocations: 39.39 kB / 0.8381 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.5899, allocations: 37.7 kB / 0.8381 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.59, allocations: 314.8 kB / 0.8384 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.5901, allocations: 24.12 kB / 0.8384 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.5901, allocations: 30.8 kB / 0.8385 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.5903, allocations: 63.66 kB / 0.8385 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5903, allocations: 0 / 0.8385 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002052/0.5905, allocations: 109.5 kB / 0.8386 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5905, allocations: 4 kB / 0.8386 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5905, allocations: 0 / 0.8386 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5905, allocations: 0 / 0.8386 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5906, allocations: 27.98 kB / 0.8387 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5906, allocations: 0 / 0.8387 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.5907, allocations: 8 kB / 0.8387 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5907, allocations: 8 kB / 0.8387 GB, free: 13.3 MB / 0.6075 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 7.232e-05/0.5908, allocations: 117.7 kB / 0.8388 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.5908, allocations: 7.984 kB / 0.8388 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.5911, allocations: 129.5 kB / 0.8389 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5911, allocations: 4 kB / 0.8389 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5911, allocations: 3.938 kB / 0.8389 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5911, allocations: 0 / 0.8389 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.5912, allocations: 173.6 kB / 0.8391 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5912, allocations: 0 / 0.8391 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5914, allocations: 31.92 kB / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5914, allocations: 0 / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.5914, allocations: 4 kB / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5914, allocations: 0 / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5914, allocations: 0 / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.5917, allocations: 160.9 kB / 0.8393 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.5917, allocations: 93.05 kB / 0.8394 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.5918, allocations: 0 / 0.8394 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.5919, allocations: 11.98 kB / 0.8394 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.5919, allocations: 8 kB / 0.8394 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5919, allocations: 7.984 kB / 0.8394 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.565e-05/0.592, allocations: 83.28 kB / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.592, allocations: 0 / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001316/0.5933, allocations: 0.5663 MB / 0.84 GB, free: 11.81 MB / 0.6075 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.002598/0.5959, allocations: 355.2 kB / 0.8404 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.5961, allocations: 71.91 kB / 0.8404 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5961, allocations: 0 / 0.8404 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.5962, allocations: 35.92 kB / 0.8405 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.5963, allocations: 14.12 kB / 0.8405 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.5968, allocations: 347.5 kB / 0.8408 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.597, allocations: 0.6884 MB / 0.8415 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.465e-05/0.5971, allocations: 24.55 kB / 0.8415 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.5971, allocations: 19.44 kB / 0.8415 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5971, allocations: 0 / 0.8415 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Templates: time 0.02819/0.6253, allocations: 24.28 MB / 0.8652 GB, free: 1.941 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)