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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 293 MB / 309 MB, free: 4.652 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.0009878/0.0009879, allocations: 175.2 kB / 378.7 MB, free: 0.8555 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.578/1.578, allocations: 205.4 MB / 0.6383 GB, free: 9.195 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.0007348/0.000735, allocations: 87.58 kB / 0.7527 GB, free: 62.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.000384, allocations: 16 kB / 0.8768 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 116.4 MB / 0.9904 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.729/0.9456, allocations: 368.1 MB / 1.35 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9459, allocations: 71.95 kB / 1.35 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02782/0.9738, allocations: 13.05 MB / 1.363 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9738, allocations: 0 / 1.363 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9738, allocations: 4 kB / 1.363 GB, free: 8.09 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.0003424/0.9742, allocations: 340.2 kB / 1.363 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9742, allocations: 12.03 kB / 1.363 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.9743, allocations: 9.625 kB / 1.363 GB, free: 7.691 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.9744, allocations: 170.2 kB / 1.363 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9744, allocations: 4.375 kB / 1.363 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.9745, allocations: 4.375 kB / 1.363 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.9746, allocations: 58.22 kB / 1.363 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.9746, allocations: 4.188 kB / 1.363 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.9746, allocations: 7.938 kB / 1.363 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9746, allocations: 0 / 1.363 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.9747, allocations: 15.92 kB / 1.363 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.9749, allocations: 165.7 kB / 1.364 GB, free: 7.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.606e-05/0.975, allocations: 51.5 kB / 1.364 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.975, allocations: 14.64 kB / 1.364 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.9757, allocations: 0.611 MB / 1.364 GB, free: 6.387 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.9757, allocations: 30.56 kB / 1.364 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 3.227e-06/0.9757, allocations: 0 / 1.364 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0005199/0.9762, allocations: 299 kB / 1.364 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.9763, allocations: 55.41 kB / 1.365 GB, free: 5.938 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.9763, allocations: 101.8 kB / 1.365 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.9764, allocations: 29.7 kB / 1.365 GB, free: 5.793 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.9764, allocations: 84.89 kB / 1.365 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.9765, allocations: 27.64 kB / 1.365 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.9765, allocations: 4 kB / 1.365 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9766, allocations: 314.8 kB / 1.365 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.9766, allocations: 15.98 kB / 1.365 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.9767, allocations: 58.12 kB / 1.365 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.9768, allocations: 73.2 kB / 1.365 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.9768, allocations: 4 kB / 1.365 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001434/0.977, allocations: 93.45 kB / 1.365 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.977, allocations: 9.719 kB / 1.365 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.977, allocations: 0.5 kB / 1.365 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.977, allocations: 4 kB / 1.365 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.9771, allocations: 19.98 kB / 1.365 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.9771, allocations: 0 / 1.365 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.9772, allocations: 8.625 kB / 1.365 GB, free: 5.039 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.9772, allocations: 8.125 kB / 1.365 GB, free: 5.031 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 9.107e-05/0.9773, allocations: 125.7 kB / 1.365 GB, free: 4.898 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.9773, allocations: 0 / 1.365 GB, free: 4.898 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.9774, allocations: 11.97 kB / 1.365 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9774, allocations: 1.406 kB / 1.365 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9774, allocations: 3.938 kB / 1.365 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.9774, allocations: 4.734 kB / 1.365 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.9777, allocations: 177.7 kB / 1.366 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9777, allocations: 0 / 1.366 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.9778, allocations: 20 kB / 1.366 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.9778, allocations: 4 kB / 1.366 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.9778, allocations: 1.125 kB / 1.366 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9778, allocations: 0 / 1.366 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9778, allocations: 0.9375 kB / 1.366 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.978, allocations: 175.3 kB / 1.366 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.9781, allocations: 85.14 kB / 1.366 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.9781, allocations: 0 / 1.366 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.9782, allocations: 12.56 kB / 1.366 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.9782, allocations: 0 / 1.366 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.9782, allocations: 5.125 kB / 1.366 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.9783, allocations: 79.27 kB / 1.366 GB, free: 4.254 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9783, allocations: 0 / 1.366 GB, free: 4.254 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000245/0.9785, allocations: 16 kB / 1.366 GB, free: 4.238 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.0001653/0.9787, allocations: 132 kB / 1.366 GB, free: 4.102 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.9788, allocations: 40.62 kB / 1.366 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9788, allocations: 5.156 kB / 1.366 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.9788, allocations: 12 kB / 1.366 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.9791, allocations: 12.25 kB / 1.366 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.9797, allocations: 386.9 kB / 1.367 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.98, allocations: 0.6887 MB / 1.367 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.98, allocations: 8 kB / 1.367 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.98, allocations: 11.44 kB / 1.367 GB, free: 2.906 MB / 0.9323 GB Notification: Performance of SimCode: time 3.71e-07/0.98, allocations: 0 / 1.367 GB, free: 2.906 MB / 0.9323 GB Notification: Performance of Templates: time 0.002978/0.983, allocations: 0.8556 MB / 1.368 GB, free: 2.078 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)