Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006507/0.006507, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001245/0.001245, allocations: 195.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 251.7 MB / 0.5094 GB, free: 392 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 68.23 kB / 0.7257 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6623, allocations: 104.7 MB / 0.828 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002081/0.6644, allocations: 1.266 MB / 0.8292 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.6679, allocations: 3.267 MB / 0.8324 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.668, allocations: 0 / 0.8324 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.668, allocations: 3.984 kB / 0.8324 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.6681, allocations: 3.938 kB / 0.8324 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.6686, allocations: 103.5 kB / 0.8325 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.6686, allocations: 39.84 kB / 0.8326 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.6687, allocations: 4 kB / 0.8326 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.6687, allocations: 19.92 kB / 0.8326 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.6688, allocations: 19.97 kB / 0.8326 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.6688, allocations: 3.938 kB / 0.8326 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.669, allocations: 75.81 kB / 0.8327 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.669, allocations: 7.984 kB / 0.8327 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.6691, allocations: 15.94 kB / 0.8327 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.6693, allocations: 71.36 kB / 0.8328 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6693, allocations: 4 kB / 0.8328 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6693, allocations: 4 kB / 0.8328 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6693, allocations: 3.938 kB / 0.8328 GB, free: 13.67 MB / 0.6387 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.0004178/0.6697, allocations: 341.8 kB / 0.8331 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6698, allocations: 8.031 kB / 0.8331 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.6699, allocations: 4.938 kB / 0.8331 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.67, allocations: 168.3 kB / 0.8333 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.67, allocations: 384 / 0.8333 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.67, allocations: 8.375 kB / 0.8333 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6702, allocations: 61.78 kB / 0.8334 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6702, allocations: 0 / 0.8334 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6702, allocations: 4 kB / 0.8334 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6702, allocations: 0 / 0.8334 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.6703, allocations: 23.91 kB / 0.8334 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.6705, allocations: 173.5 kB / 0.8335 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.6706, allocations: 46.56 kB / 0.8336 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.6706, allocations: 20.84 kB / 0.8336 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/0.6713, allocations: 0.5946 MB / 0.8342 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6714, allocations: 34.56 kB / 0.8342 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.6714, allocations: 0 / 0.8342 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.000592/0.672, allocations: 303 kB / 0.8345 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.672, allocations: 59.39 kB / 0.8346 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.6721, allocations: 97.8 kB / 0.8347 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6721, allocations: 29.7 kB / 0.8347 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.6722, allocations: 88.05 kB / 0.8348 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.6722, allocations: 27.58 kB / 0.8348 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6723, allocations: 29.62 kB / 0.8348 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6724, allocations: 322.8 kB / 0.8351 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.6724, allocations: 16 kB / 0.8352 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.6725, allocations: 61.08 kB / 0.8352 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.725e-05/0.6726, allocations: 77.02 kB / 0.8353 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6726, allocations: 0 / 0.8353 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001312/0.6727, allocations: 89.55 kB / 0.8354 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6728, allocations: 8 kB / 0.8354 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6728, allocations: 0 / 0.8354 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6728, allocations: 4 kB / 0.8354 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.6729, allocations: 16 kB / 0.8354 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6729, allocations: 3.984 kB / 0.8354 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.6729, allocations: 12.06 kB / 0.8354 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.6729, allocations: 8 kB / 0.8354 GB, free: 10.57 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.673, allocations: 117.8 kB / 0.8355 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.6731, allocations: 0 / 0.8355 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.6731, allocations: 12.25 kB / 0.8355 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6731, allocations: 0 / 0.8355 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6731, allocations: 3.984 kB / 0.8355 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6731, allocations: 3.938 kB / 0.8356 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.6734, allocations: 169.7 kB / 0.8357 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6734, allocations: 0 / 0.8357 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.6735, allocations: 23.98 kB / 0.8357 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6735, allocations: 4 kB / 0.8357 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.6735, allocations: 0 / 0.8357 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6735, allocations: 80 / 0.8357 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6735, allocations: 3.984 kB / 0.8357 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.6737, allocations: 187.2 kB / 0.8359 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.6738, allocations: 85.05 kB / 0.836 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.6738, allocations: 0 / 0.836 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.6739, allocations: 16.03 kB / 0.836 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.6739, allocations: 0 / 0.836 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.6739, allocations: 7.938 kB / 0.836 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.674, allocations: 79.28 kB / 0.8361 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.674, allocations: 0 / 0.8361 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002362/0.6742, allocations: 12 kB / 0.8361 GB, free: 9.762 MB / 0.6387 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 (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.0001158/0.6743, allocations: 104.3 kB / 0.8362 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.6745, allocations: 43.92 kB / 0.8363 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6745, allocations: 0 / 0.8363 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.6745, allocations: 19.94 kB / 0.8363 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.6748, allocations: 7.984 kB / 0.8363 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.6753, allocations: 326.6 kB / 0.8366 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6756, allocations: 0.6846 MB / 0.8373 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.877e-05/0.6756, allocations: 11.98 kB / 0.8373 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.6756, allocations: 11.44 kB / 0.8373 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of SimCode: time 3.4e-07/0.6756, allocations: 0 / 0.8373 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.0029/0.6785, allocations: 0.6243 MB / 0.8379 GB, free: 7.879 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)