Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.723/1.723, allocations: 297.8 MB / 313.7 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001098, allocations: 194.6 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 0.6626 GB, free: 4.367 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 101.8 kB / 0.7808 GB, free: 43.49 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004626, allocations: 16 kB / 0.9088 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8219, allocations: 120.3 MB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/2.13, allocations: 449.3 MB / 1.465 GB, free: 120 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/2.131, allocations: 72.22 kB / 1.465 GB, free: 120 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07795/2.209, allocations: 36.76 MB / 1.501 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.515e-06/2.209, allocations: 0 / 1.501 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.244e-06/2.209, allocations: 0 / 1.501 GB, free: 87.66 MB / 0.8855 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.0004663/2.209, allocations: 366.8 kB / 1.501 GB, free: 87.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/2.209, allocations: 12.03 kB / 1.501 GB, free: 87.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/2.209, allocations: 20.84 kB / 1.501 GB, free: 87.22 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/2.209, allocations: 160.4 kB / 1.502 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/2.209, allocations: 3.875 kB / 1.502 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/2.209, allocations: 12.28 kB / 1.502 GB, free: 87.01 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/2.21, allocations: 53.42 kB / 1.502 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/2.21, allocations: 192 / 1.502 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/2.21, allocations: 7.938 kB / 1.502 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/2.21, allocations: 3.938 kB / 1.502 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/2.21, allocations: 19.03 kB / 1.502 GB, free: 86.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/2.21, allocations: 161 kB / 1.502 GB, free: 86.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/2.21, allocations: 53.38 kB / 1.502 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/2.21, allocations: 19.91 kB / 1.502 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008162/2.218, allocations: 3.132 MB / 1.505 GB, free: 83.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/2.218, allocations: 30.56 kB / 1.505 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/2.218, allocations: 4 kB / 1.505 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0243/2.243, allocations: 13.45 MB / 1.518 GB, free: 69.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/2.243, allocations: 59.03 kB / 1.518 GB, free: 69.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/2.243, allocations: 89.86 kB / 1.518 GB, free: 69.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/2.243, allocations: 29.7 kB / 1.518 GB, free: 69.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/2.243, allocations: 83.77 kB / 1.518 GB, free: 69.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/2.243, allocations: 39.33 kB / 1.518 GB, free: 69.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-06/2.243, allocations: 3.688 kB / 1.518 GB, free: 69.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/2.243, allocations: 314.8 kB / 1.519 GB, free: 69.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/2.243, allocations: 22.23 kB / 1.519 GB, free: 69.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/2.243, allocations: 23.3 kB / 1.519 GB, free: 69.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/2.243, allocations: 62.34 kB / 1.519 GB, free: 69.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/2.243, allocations: 0 / 1.519 GB, free: 69.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001915/2.243, allocations: 110.3 kB / 1.519 GB, free: 69.15 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/2.243, allocations: 8 kB / 1.519 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/2.243, allocations: 0 / 1.519 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/2.243, allocations: 4 kB / 1.519 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/2.244, allocations: 23.98 kB / 1.519 GB, free: 69.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/2.244, allocations: 4 kB / 1.519 GB, free: 69.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/2.244, allocations: 3.625 kB / 1.519 GB, free: 69.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/2.244, allocations: 4 kB / 1.519 GB, free: 69.11 MB / 0.8855 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 6.914e-05/2.244, allocations: 121.5 kB / 1.519 GB, free: 68.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/2.244, allocations: 11.92 kB / 1.519 GB, free: 68.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/2.244, allocations: 125 kB / 1.519 GB, free: 68.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/2.244, allocations: 3.984 kB / 1.519 GB, free: 68.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.244, allocations: 0 / 1.519 GB, free: 68.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.244, allocations: 3.984 kB / 1.519 GB, free: 68.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/2.244, allocations: 180.1 kB / 1.519 GB, free: 68.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/2.244, allocations: 7.938 kB / 1.519 GB, free: 68.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/2.244, allocations: 23.98 kB / 1.519 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/2.244, allocations: 0 / 1.519 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/2.244, allocations: 4 kB / 1.519 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/2.244, allocations: 0 / 1.519 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/2.244, allocations: 3.938 kB / 1.519 GB, free: 68.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/2.245, allocations: 155.6 kB / 1.52 GB, free: 68.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/2.245, allocations: 96.73 kB / 1.52 GB, free: 68.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/2.245, allocations: 7.797 kB / 1.52 GB, free: 68.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/2.245, allocations: 12 kB / 1.52 GB, free: 68.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/2.245, allocations: 11.98 kB / 1.52 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/2.245, allocations: 3.562 kB / 1.52 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.518e-05/2.245, allocations: 83.27 kB / 1.52 GB, free: 68.24 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/2.245, allocations: 0 / 1.52 GB, free: 68.24 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002435/2.247, allocations: 0.5973 MB / 1.52 GB, free: 67.67 MB / 0.8855 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.003049/2.25, allocations: 0.7574 MB / 1.521 GB, free: 66.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001877/2.251, allocations: 68.34 kB / 1.521 GB, free: 66.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.251, allocations: 0 / 1.521 GB, free: 66.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/2.251, allocations: 35.28 kB / 1.521 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/2.251, allocations: 12.39 kB / 1.521 GB, free: 66.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/2.252, allocations: 410 kB / 1.522 GB, free: 66.42 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/2.252, allocations: 0.6887 MB / 1.522 GB, free: 65.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001052/2.252, allocations: 20.55 kB / 1.522 GB, free: 65.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/2.252, allocations: 19.42 kB / 1.522 GB, free: 65.66 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/2.252, allocations: 0 / 1.522 GB, free: 65.66 MB / 0.8855 GB Notification: Performance of Templates: time 0.04255/2.294, allocations: 30.2 MB / 1.552 GB, free: 35.46 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)