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.0008153/0.0008154, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007744/0.007744, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.498/1.498, allocations: 252 MB / 0.5105 GB, free: 4.633 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.0005159/0.0005159, allocations: 16 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.528, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002023/0.5301, allocations: 0.9904 MB / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.5349, allocations: 3.21 MB / 0.7328 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.5349, allocations: 0 / 0.7328 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.535, allocations: 0 / 0.7328 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.535, allocations: 7.938 kB / 0.7328 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.5357, allocations: 95.61 kB / 0.7329 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.5358, allocations: 31.91 kB / 0.7329 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.5358, allocations: 3.984 kB / 0.7329 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.5359, allocations: 19.94 kB / 0.733 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.536, allocations: 19.91 kB / 0.733 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.536, allocations: 4 kB / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.5363, allocations: 71.81 kB / 0.733 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.5363, allocations: 15.97 kB / 0.7331 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.5364, allocations: 41.64 kB / 0.7331 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5366, allocations: 69.81 kB / 0.7332 GB, free: 6.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5366, allocations: 4 kB / 0.7332 GB, free: 6.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5366, allocations: 0 / 0.7332 GB, free: 6.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5366, allocations: 0 / 0.7332 GB, free: 6.648 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.0004839/0.5371, allocations: 331.5 kB / 0.7335 GB, free: 6.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5372, allocations: 12.03 kB / 0.7335 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.5373, allocations: 4.938 kB / 0.7335 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.5375, allocations: 180.2 kB / 0.7337 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5375, allocations: 8.297 kB / 0.7337 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.5375, allocations: 8.281 kB / 0.7337 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5377, allocations: 61.78 kB / 0.7338 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5377, allocations: 0 / 0.7338 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5377, allocations: 0 / 0.7338 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.5377, allocations: 4 kB / 0.7338 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.5378, allocations: 15.98 kB / 0.7338 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.538, allocations: 161.6 kB / 0.7339 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.5381, allocations: 66.55 kB / 0.734 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.5382, allocations: 12.86 kB / 0.734 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008449/0.539, allocations: 0.5947 MB / 0.7346 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.5391, allocations: 30.56 kB / 0.7346 GB, free: 4.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5391, allocations: 0 / 0.7346 GB, free: 4.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006511/0.5397, allocations: 302.1 kB / 0.7349 GB, free: 4.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.5398, allocations: 55.64 kB / 0.735 GB, free: 4.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.5399, allocations: 97.86 kB / 0.735 GB, free: 4.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5399, allocations: 25.7 kB / 0.7351 GB, free: 4.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.54, allocations: 99.95 kB / 0.7352 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.54, allocations: 19.72 kB / 0.7352 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.54, allocations: 21.7 kB / 0.7352 GB, free: 4.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5402, allocations: 318.8 kB / 0.7355 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.5402, allocations: 15.98 kB / 0.7355 GB, free: 3.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.5403, allocations: 49.09 kB / 0.7356 GB, free: 3.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.5404, allocations: 77.08 kB / 0.7356 GB, free: 3.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5404, allocations: 3.938 kB / 0.7356 GB, free: 3.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001468/0.5405, allocations: 97.45 kB / 0.7357 GB, free: 3.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.5406, allocations: 7.938 kB / 0.7357 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5406, allocations: 4 kB / 0.7358 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5406, allocations: 416 / 0.7358 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.5407, allocations: 24.42 kB / 0.7358 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5407, allocations: 4 kB / 0.7358 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.5407, allocations: 3.938 kB / 0.7358 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5408, allocations: 12 kB / 0.7358 GB, free: 3.551 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.096e-05/0.5409, allocations: 121.7 kB / 0.7359 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.5409, allocations: 7.984 kB / 0.7359 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.5409, allocations: 7.969 kB / 0.7359 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5409, allocations: 0 / 0.7359 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.541, allocations: 4 kB / 0.7359 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.541, allocations: 11.92 kB / 0.7359 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.5412, allocations: 161.7 kB / 0.7361 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5412, allocations: 11.92 kB / 0.7361 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.5413, allocations: 12 kB / 0.7361 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5413, allocations: 0 / 0.7361 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5413, allocations: 4 kB / 0.7361 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5413, allocations: 0 / 0.7361 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.5413, allocations: 0 / 0.7361 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.5416, allocations: 187.3 kB / 0.7363 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.5416, allocations: 81.14 kB / 0.7364 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.5416, allocations: 4 kB / 0.7364 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.5417, allocations: 0 / 0.7364 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.5418, allocations: 4 kB / 0.7364 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5418, allocations: 7.938 kB / 0.7364 GB, free: 2.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.5418, allocations: 83.27 kB / 0.7365 GB, free: 2.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5418, allocations: 0 / 0.7365 GB, free: 2.754 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000231/0.5421, allocations: 16 kB / 0.7365 GB, free: 2.738 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 (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.0001257/0.5422, allocations: 99.25 kB / 0.7366 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.5423, allocations: 47.92 kB / 0.7366 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5423, allocations: 0 / 0.7366 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.5424, allocations: 19.92 kB / 0.7366 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.5427, allocations: 4 kB / 0.7367 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.5433, allocations: 402.9 kB / 0.737 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.5435, allocations: 0.6809 MB / 0.7377 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.325e-05/0.5436, allocations: 11.98 kB / 0.7377 GB, free: 1.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.5436, allocations: 11.44 kB / 0.7377 GB, free: 1.41 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.5436, allocations: 0 / 0.7377 GB, free: 1.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002756/0.5464, allocations: 0.5887 MB / 0.7383 GB, free: 0.8242 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: