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.001011/0.001011, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001277/0.001277, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.581/1.581, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.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.0006484/0.0006485, allocations: 20 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6686, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001564/0.6703, allocations: 0.9678 MB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00376/0.674, allocations: 2.857 MB / 0.7317 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.6741, allocations: 0 / 0.7317 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.6741, allocations: 0 / 0.7317 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.6742, allocations: 7.984 kB / 0.7317 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.6746, allocations: 87.7 kB / 0.7318 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.6747, allocations: 27.91 kB / 0.7318 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.856e-05/0.6748, allocations: 7.984 kB / 0.7318 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.6748, allocations: 19.94 kB / 0.7318 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.6749, allocations: 11.97 kB / 0.7318 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.6749, allocations: 4 kB / 0.7318 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.6752, allocations: 59.89 kB / 0.7319 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.6752, allocations: 8 kB / 0.7319 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.6752, allocations: 29.7 kB / 0.7319 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.6753, allocations: 34.06 kB / 0.732 GB, free: 7.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.6754, allocations: 4 kB / 0.732 GB, free: 7.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6754, allocations: 0 / 0.732 GB, free: 7.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6754, allocations: 4 kB / 0.732 GB, free: 7.434 MB / 0.545 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.0004583/0.6758, allocations: 339.3 kB / 0.7323 GB, free: 7.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6759, allocations: 8.031 kB / 0.7323 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.676, allocations: 15.88 kB / 0.7323 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.6761, allocations: 159.1 kB / 0.7325 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6762, allocations: 8 kB / 0.7325 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.6762, allocations: 3.906 kB / 0.7325 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.6764, allocations: 53.67 kB / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6764, allocations: 4 kB / 0.7325 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.6764, allocations: 4 kB / 0.7326 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6765, allocations: 0 / 0.7326 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.6765, allocations: 19.94 kB / 0.7326 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.6767, allocations: 173.5 kB / 0.7327 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.6768, allocations: 54.56 kB / 0.7328 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007475/0.6776, allocations: 0.583 MB / 0.7334 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.351e-05/0.6777, allocations: 38.52 kB / 0.7334 GB, free: 5.719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.6777, allocations: 0 / 0.7334 GB, free: 5.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005769/0.6783, allocations: 302.4 kB / 0.7337 GB, free: 5.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6783, allocations: 55.39 kB / 0.7337 GB, free: 5.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.6784, allocations: 101.9 kB / 0.7338 GB, free: 5.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6784, allocations: 25.7 kB / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.6785, allocations: 95.98 kB / 0.7339 GB, free: 5.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6785, allocations: 19.7 kB / 0.734 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.6785, allocations: 4 kB / 0.734 GB, free: 5.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6787, allocations: 310.8 kB / 0.7343 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.6787, allocations: 15.98 kB / 0.7343 GB, free: 4.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.6788, allocations: 57.14 kB / 0.7343 GB, free: 4.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.6788, allocations: 16.12 kB / 0.7344 GB, free: 4.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6788, allocations: 4 kB / 0.7344 GB, free: 4.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001396/0.679, allocations: 105.4 kB / 0.7345 GB, free: 4.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.679, allocations: 16 kB / 0.7345 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.679, allocations: 0 / 0.7345 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.679, allocations: 4 kB / 0.7345 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.6791, allocations: 19.98 kB / 0.7345 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.6791, allocations: 4 kB / 0.7345 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.6792, allocations: 0 / 0.7345 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.6792, allocations: 8 kB / 0.7345 GB, free: 4.461 MB / 0.545 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 8.844e-05/0.6793, allocations: 117.7 kB / 0.7346 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6793, allocations: 11.95 kB / 0.7346 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.6793, allocations: 11.97 kB / 0.7346 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6794, allocations: 0 / 0.7346 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6794, allocations: 0 / 0.7346 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6794, allocations: 3.984 kB / 0.7346 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.6796, allocations: 165.7 kB / 0.7348 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.6796, allocations: 0 / 0.7348 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.6797, allocations: 19.98 kB / 0.7348 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6797, allocations: 0 / 0.7348 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6798, allocations: 3.953 kB / 0.7348 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6798, allocations: 0 / 0.7348 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6798, allocations: 0 / 0.7348 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.68, allocations: 179.8 kB / 0.735 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.68, allocations: 85.11 kB / 0.7351 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6801, allocations: 4.031 kB / 0.7351 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6802, allocations: 11.95 kB / 0.7351 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.6802, allocations: 0 / 0.7351 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.6802, allocations: 8 kB / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.6803, allocations: 83.27 kB / 0.7352 GB, free: 3.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6803, allocations: 4 kB / 0.7352 GB, free: 3.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002326/0.6805, allocations: 8 kB / 0.7352 GB, free: 3.656 MB / 0.545 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.0001436/0.6807, allocations: 103.2 kB / 0.7353 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.6808, allocations: 39.92 kB / 0.7353 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6808, allocations: 0 / 0.7353 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.6808, allocations: 24.06 kB / 0.7354 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.681, allocations: 16.19 kB / 0.7354 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.6817, allocations: 382.8 kB / 0.7357 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6819, allocations: 0.6848 MB / 0.7364 GB, free: 2.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.682, allocations: 8 kB / 0.7364 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.682, allocations: 11.44 kB / 0.7364 GB, free: 2.336 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.682, allocations: 3.938 kB / 0.7364 GB, free: 2.332 MB / 0.545 GB Notification: Performance of Templates: time 0.002909/0.6849, allocations: 0.5733 MB / 0.737 GB, free: 1.762 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: