Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001275/0.001275, allocations: 180.9 kB / 361.4 MB, free: 6.848 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.816/1.816, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009226/0.0009227, allocations: 92.23 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.52e-05, allocations: 0 / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6916, allocations: 115.3 MB / 0.9643 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9537/1.645, allocations: 366.3 MB / 1.322 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/1.646, allocations: 66.86 kB / 1.322 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02499/1.671, allocations: 12.98 MB / 1.335 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.373e-06/1.671, allocations: 4 kB / 1.335 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.671, allocations: 0 / 1.335 GB, free: 180.8 MB / 0.8542 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.0002622/1.671, allocations: 329.9 kB / 1.335 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.671, allocations: 11.81 kB / 1.335 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/1.671, allocations: 8.922 kB / 1.335 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/1.671, allocations: 170.9 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/1.671, allocations: 0 / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/1.671, allocations: 3.906 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.401e-05/1.671, allocations: 19.42 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/1.671, allocations: 48.88 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.671, allocations: 3.906 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.671, allocations: 1.594 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.671, allocations: 7.922 kB / 1.335 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/1.672, allocations: 137.5 kB / 1.336 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/1.672, allocations: 41.27 kB / 1.336 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/1.672, allocations: 19.42 kB / 1.336 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/1.672, allocations: 0.6186 MB / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/1.672, allocations: 34.5 kB / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.672, allocations: 0 / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004397/1.673, allocations: 283.6 kB / 1.336 GB, free: 179 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.622e-05/1.673, allocations: 51.41 kB / 1.337 GB, free: 179 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/1.673, allocations: 96.48 kB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/1.673, allocations: 25.7 kB / 1.337 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/1.673, allocations: 87.42 kB / 1.337 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/1.673, allocations: 26.98 kB / 1.337 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/1.673, allocations: 0 / 1.337 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/1.673, allocations: 318.1 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/1.673, allocations: 7.969 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/1.673, allocations: 51.92 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/1.673, allocations: 11.38 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.673, allocations: 0 / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.681e-05/1.673, allocations: 95.91 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.673, allocations: 3.906 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.673, allocations: 3.906 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.673, allocations: 0 / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/1.673, allocations: 23.55 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.673, allocations: 3.906 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/1.673, allocations: 3.953 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/1.673, allocations: 7.844 kB / 1.337 GB, free: 178.3 MB / 0.8542 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 () * 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 5.018e-05/1.673, allocations: 109.5 kB / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/1.673, allocations: 0 / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/1.674, allocations: 15.73 kB / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.674, allocations: 0 / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.674, allocations: 3.938 kB / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.674, allocations: 0 / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.674, allocations: 154.2 kB / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.674, allocations: 0 / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/1.674, allocations: 19.55 kB / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.674, allocations: 0 / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/1.674, allocations: 6.719 kB / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.674, allocations: 4 kB / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.674, allocations: 0 / 1.338 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/1.674, allocations: 171.7 kB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/1.674, allocations: 77.11 kB / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.674, allocations: 3.812 kB / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/1.674, allocations: 48 / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/1.674, allocations: 7.891 kB / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.674, allocations: 5.219 kB / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.854e-05/1.674, allocations: 79.19 kB / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/1.674, allocations: 0 / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002257/1.674, allocations: 15.41 kB / 1.338 GB, free: 177.7 MB / 0.8542 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 () * 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.0001288/1.675, allocations: 127.2 kB / 1.338 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/1.675, allocations: 34.41 kB / 1.338 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.675, allocations: 0 / 1.338 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/1.675, allocations: 11.72 kB / 1.338 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/1.675, allocations: 10 kB / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/1.675, allocations: 276.3 kB / 1.338 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/1.675, allocations: 0.6928 MB / 1.339 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.044e-05/1.675, allocations: 3.844 kB / 1.339 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/1.675, allocations: 15.38 kB / 1.339 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/1.675, allocations: 3.938 kB / 1.339 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002432/1.678, allocations: 0.7144 MB / 1.34 GB, free: 176.3 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)