Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007535/0.0007535, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000739/0.000739, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8375/0.8375, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.543/0.543, allocations: 114 MB / 374.7 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5554 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.485e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001398/0.001413, allocations: 1.282 MB / 0.5566 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.004021, allocations: 3.063 MB / 0.5596 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.004042, allocations: 0 / 0.5596 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.004059, allocations: 7.922 kB / 0.5596 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.004098, allocations: 7.922 kB / 0.5596 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.004492, allocations: 103.5 kB / 0.5597 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.004556, allocations: 39.84 kB / 0.5598 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 2.953e-05/0.004586, allocations: 0 / 0.5598 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.004634, allocations: 27.97 kB / 0.5598 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.004684, allocations: 19.91 kB / 0.5598 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.004694, allocations: 3.938 kB / 0.5598 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.004841, allocations: 63.81 kB / 0.5599 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.004853, allocations: 7.938 kB / 0.5599 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.004873, allocations: 19.97 kB / 0.5599 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.005012, allocations: 63.86 kB / 0.56 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005013, allocations: 4 kB / 0.56 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005014, allocations: 0 / 0.56 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.005017, allocations: 0 / 0.56 GB, free: 13.57 MB / 0.5261 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.000291/0.005308, allocations: 283.5 kB / 0.5602 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.005342, allocations: 8.625 kB / 0.5603 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.005418, allocations: 8.891 kB / 0.5603 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.005481, allocations: 105.8 kB / 0.5604 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.005491, allocations: 8.375 kB / 0.5604 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.005511, allocations: 4.375 kB / 0.5604 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.00563, allocations: 139.3 kB / 0.5605 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.005638, allocations: 192 / 0.5605 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005648, allocations: 4.125 kB / 0.5605 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005652, allocations: 0 / 0.5605 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.005691, allocations: 19.98 kB / 0.5605 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.005803, allocations: 113.2 kB / 0.5606 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.005873, allocations: 46.56 kB / 0.5607 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.005893, allocations: 8.859 kB / 0.5607 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/0.006295, allocations: 258 kB / 0.5609 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.006313, allocations: 30.56 kB / 0.561 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.006314, allocations: 8 kB / 0.561 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004117/0.006725, allocations: 225.1 kB / 0.5612 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.006753, allocations: 51.41 kB / 0.5612 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.006801, allocations: 101.8 kB / 0.5613 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.006813, allocations: 33.7 kB / 0.5614 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.006844, allocations: 88.03 kB / 0.5614 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.006857, allocations: 23.92 kB / 0.5615 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.006887, allocations: 33.66 kB / 0.5615 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.00695, allocations: 310.8 kB / 0.5618 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.00697, allocations: 19.92 kB / 0.5618 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.007006, allocations: 60.53 kB / 0.5619 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.895e-05/0.007065, allocations: 73.03 kB / 0.5619 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.007066, allocations: 0 / 0.5619 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.323e-05/0.007149, allocations: 93.98 kB / 0.562 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.00716, allocations: 7.938 kB / 0.562 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007163, allocations: 4.125 kB / 0.562 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.007174, allocations: 4 kB / 0.5621 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.48e-05/0.007219, allocations: 19.98 kB / 0.5621 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.007226, allocations: 8 kB / 0.5621 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.007246, allocations: 4 kB / 0.5621 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007251, allocations: 4.078 kB / 0.5621 GB, free: 11.14 MB / 0.5261 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 5.355e-05/0.007305, allocations: 125.7 kB / 0.5622 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.007318, allocations: 4 kB / 0.5622 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.00734, allocations: 8.125 kB / 0.5622 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.007341, allocations: 0 / 0.5622 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007345, allocations: 7.984 kB / 0.5622 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007347, allocations: 0 / 0.5622 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.007471, allocations: 121.2 kB / 0.5623 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.007472, allocations: 0 / 0.5623 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.007514, allocations: 12 kB / 0.5624 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007515, allocations: 4 kB / 0.5624 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.007522, allocations: 3.984 kB / 0.5624 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007524, allocations: 3.984 kB / 0.5624 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007524, allocations: 0 / 0.5624 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007645, allocations: 175.7 kB / 0.5625 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.007665, allocations: 11.98 kB / 0.5625 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.007675, allocations: 8 kB / 0.5625 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.007728, allocations: 0 / 0.5625 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.007744, allocations: 12.06 kB / 0.5626 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007747, allocations: 3.938 kB / 0.5626 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.007769, allocations: 83.28 kB / 0.5626 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007769, allocations: 3.938 kB / 0.5626 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001464/0.007916, allocations: 12 kB / 0.5627 GB, free: 10.49 MB / 0.5261 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 7.835e-05/0.007994, allocations: 103.2 kB / 0.5628 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.008069, allocations: 43.91 kB / 0.5628 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00807, allocations: 0 / 0.5628 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.008084, allocations: 15.94 kB / 0.5628 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.008249, allocations: 7.938 kB / 0.5628 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.008597, allocations: 282.9 kB / 0.5631 GB, free: 10 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.008638, allocations: 71.28 kB / 0.5632 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.008659, allocations: 12.5 kB / 0.5632 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.008659, allocations: 0 / 0.5632 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of Templates: time 0.001344/0.01, allocations: 0.8008 MB / 0.564 GB, free: 9.102 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.807741783559322] Failed to read output from testmodel.py, exit status != 0: 0.014538613148033619 0.022018905000000002 0.015461417000000002 Calling exit ...