Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.6 MB / 307.6 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 185 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 0.6367 GB, free: 8.531 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 94.3 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 116.3 MB / 0.9883 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.34, allocations: 368 MB / 1.348 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.34, allocations: 71.95 kB / 1.348 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03253/1.373, allocations: 13.09 MB / 1.361 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.615e-06/1.373, allocations: 0 / 1.361 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.373, allocations: 0 / 1.361 GB, free: 9.109 MB / 0.9323 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.0004299/1.374, allocations: 343.3 kB / 1.361 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.374, allocations: 16.67 kB / 1.361 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/1.374, allocations: 7.469 kB / 1.361 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/1.374, allocations: 163 kB / 1.361 GB, free: 8.508 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/1.374, allocations: 8 kB / 1.361 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.374, allocations: 11.34 kB / 1.361 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/1.374, allocations: 54.45 kB / 1.361 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.374, allocations: 0.8125 kB / 1.361 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.374, allocations: 9.188 kB / 1.361 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.374, allocations: 4 kB / 1.361 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.694e-05/1.374, allocations: 19.97 kB / 1.361 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/1.375, allocations: 161.7 kB / 1.361 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/1.375, allocations: 51.59 kB / 1.361 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/1.376, allocations: 0.597 MB / 1.362 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/1.376, allocations: 35 kB / 1.362 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/1.376, allocations: 0 / 1.362 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0008506/1.377, allocations: 304.7 kB / 1.362 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/1.377, allocations: 55.36 kB / 1.362 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/1.377, allocations: 96.98 kB / 1.362 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.377, allocations: 29.7 kB / 1.363 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/1.377, allocations: 88.05 kB / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/1.377, allocations: 28.58 kB / 1.363 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.377, allocations: 0 / 1.363 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.377, allocations: 318.8 kB / 1.363 GB, free: 6.402 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/1.377, allocations: 8 kB / 1.363 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/1.377, allocations: 53.91 kB / 1.363 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/1.377, allocations: 32.09 kB / 1.363 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.377, allocations: 4 kB / 1.363 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001746/1.378, allocations: 93.45 kB / 1.363 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.378, allocations: 4 kB / 1.363 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.378, allocations: 4 kB / 1.363 GB, free: 6.184 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.378, allocations: 0.8438 kB / 1.363 GB, free: 6.184 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/1.378, allocations: 20.5 kB / 1.363 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.378, allocations: 7.953 kB / 1.363 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/1.378, allocations: 4 kB / 1.363 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.378, allocations: 12.05 kB / 1.363 GB, free: 6.141 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 0.0001474/1.378, allocations: 117.8 kB / 1.363 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/1.378, allocations: 4 kB / 1.363 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/1.378, allocations: 8.594 kB / 1.363 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.378, allocations: 0 / 1.363 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.378, allocations: 0.9375 kB / 1.363 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.378, allocations: 3.953 kB / 1.363 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/1.379, allocations: 169.7 kB / 1.363 GB, free: 5.789 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.379, allocations: 4.562 kB / 1.363 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/1.379, allocations: 15.98 kB / 1.363 GB, free: 5.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.379, allocations: 4 kB / 1.363 GB, free: 5.766 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.379, allocations: 4 kB / 1.363 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.379, allocations: 1.25 kB / 1.363 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.379, allocations: 0 / 1.363 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/1.379, allocations: 185.5 kB / 1.364 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/1.379, allocations: 77.11 kB / 1.364 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/1.379, allocations: 4 kB / 1.364 GB, free: 5.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.379, allocations: 4 kB / 1.364 GB, free: 5.465 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/1.379, allocations: 7.984 kB / 1.364 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/1.379, allocations: 4 kB / 1.364 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 5.287e-05/1.379, allocations: 79.28 kB / 1.364 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/1.379, allocations: 0 / 1.364 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00026/1.38, allocations: 16 kB / 1.364 GB, free: 5.359 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0002249/1.38, allocations: 121.1 kB / 1.364 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001339/1.38, allocations: 47.84 kB / 1.364 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.38, allocations: 0 / 1.364 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/1.38, allocations: 20.92 kB / 1.364 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/1.38, allocations: 12.2 kB / 1.364 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/1.381, allocations: 390.5 kB / 1.364 GB, free: 4.754 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/1.381, allocations: 0.6848 MB / 1.365 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 7.208e-05/1.381, allocations: 8 kB / 1.365 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/1.381, allocations: 11.44 kB / 1.365 GB, free: 4.023 MB / 0.9323 GB Notification: Performance of SimCode: time 6.22e-07/1.381, allocations: 0 / 1.365 GB, free: 4.023 MB / 0.9323 GB Notification: Performance of Templates: time 0.003558/1.385, allocations: 0.8442 MB / 1.366 GB, free: 3.207 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)