Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009165/0.0009165, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009552/0.0009552, allocations: 173 kB / 23.49 MB, free: 1.055 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.9822/0.9822, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005101/0.005101, allocations: 230.2 kB / 260.5 MB, free: 12.89 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7754/0.7754, allocations: 138.4 MB / 455.4 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.555 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.263e-05, allocations: 5.406 kB / 0.555 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002664/0.002697, allocations: 1.31 MB / 0.5562 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004791/0.007488, allocations: 3.378 MB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.007541, allocations: 0 / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.007568, allocations: 3.938 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.007633, allocations: 7.938 kB / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.008331, allocations: 103.5 kB / 0.5597 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.008437, allocations: 39.84 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.008488, allocations: 4 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.008578, allocations: 31.84 kB / 0.5597 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.008661, allocations: 15.97 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.008682, allocations: 0 / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.008961, allocations: 67.81 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.008981, allocations: 7.922 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.009021, allocations: 12 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.009269, allocations: 75.72 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009273, allocations: 0 / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.009275, allocations: 0 / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00928, allocations: 0 / 0.5599 GB, free: 11.46 MB / 490.7 MB 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.000461/0.009741, allocations: 380.6 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.009791, allocations: 9.938 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.009959, allocations: 12.89 kB / 0.5603 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.01007, allocations: 108.6 kB / 0.5604 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.01009, allocations: 8.312 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.01012, allocations: 8.375 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.0103, allocations: 123.3 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.01031, allocations: 4.188 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.01033, allocations: 4.125 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.01033, allocations: 4 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.01039, allocations: 19.97 kB / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.01056, allocations: 124.6 kB / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.01083, allocations: 54.98 kB / 0.5607 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.01087, allocations: 19.67 kB / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/0.01153, allocations: 288.6 kB / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.01156, allocations: 37.39 kB / 0.5611 GB, free: 10.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.01156, allocations: 0 / 0.5611 GB, free: 10.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006297/0.01219, allocations: 225.6 kB / 0.5613 GB, free: 9.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.01223, allocations: 63.33 kB / 0.5613 GB, free: 9.777 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01234, allocations: 157.9 kB / 0.5615 GB, free: 9.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.01236, allocations: 33.7 kB / 0.5615 GB, free: 9.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.01242, allocations: 131.1 kB / 0.5616 GB, free: 9.434 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.01244, allocations: 35.72 kB / 0.5617 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.01249, allocations: 27.38 kB / 0.5617 GB, free: 9.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.01264, allocations: 0.4884 MB / 0.5622 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.01267, allocations: 8 kB / 0.5622 GB, free: 8.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.01273, allocations: 66.11 kB / 0.5622 GB, free: 8.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.01283, allocations: 98.16 kB / 0.5623 GB, free: 8.645 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01284, allocations: 0 / 0.5623 GB, free: 8.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001495/0.01298, allocations: 89.48 kB / 0.5624 GB, free: 8.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.013, allocations: 8 kB / 0.5624 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01301, allocations: 448 / 0.5624 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01303, allocations: 4 kB / 0.5624 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.01311, allocations: 20 kB / 0.5625 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.01312, allocations: 8.109 kB / 0.5625 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.01316, allocations: 8 kB / 0.5625 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01316, allocations: 4 kB / 0.5625 GB, free: 8.5 MB / 490.7 MB 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 8.702e-05/0.01325, allocations: 164.5 kB / 0.5626 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.01328, allocations: 11.89 kB / 0.5626 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.01331, allocations: 12.12 kB / 0.5627 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01331, allocations: 0 / 0.5627 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01332, allocations: 0 / 0.5627 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01332, allocations: 0 / 0.5627 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.01354, allocations: 136.6 kB / 0.5628 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01354, allocations: 4 kB / 0.5628 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.01361, allocations: 15.98 kB / 0.5628 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01362, allocations: 0 / 0.5628 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01363, allocations: 4 kB / 0.5628 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01363, allocations: 0 / 0.5628 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01363, allocations: 0 / 0.5628 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01384, allocations: 227.8 kB / 0.563 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.01387, allocations: 7.953 kB / 0.563 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.01389, allocations: 3.984 kB / 0.563 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.01398, allocations: 8 kB / 0.563 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.014, allocations: 0 / 0.563 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.014, allocations: 8 kB / 0.5631 GB, free: 7.848 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.01405, allocations: 127.2 kB / 0.5632 GB, free: 7.723 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01405, allocations: 0 / 0.5632 GB, free: 7.723 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.01433, allocations: 16 kB / 0.5632 GB, free: 7.707 MB / 490.7 MB 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.0001515/0.01449, allocations: 95.25 kB / 0.5633 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01462, allocations: 47.89 kB / 0.5633 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01462, allocations: 256 / 0.5633 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.01465, allocations: 31.61 kB / 0.5634 GB, free: 7.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01495, allocations: 14.56 kB / 0.5634 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008194/0.01577, allocations: 270.1 kB / 0.5636 GB, free: 7.215 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.01581, allocations: 55.36 kB / 0.5637 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.01586, allocations: 15.77 kB / 0.5637 GB, free: 7.125 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.01589, allocations: 12.5 kB / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01589, allocations: 0 / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of Templates: time 0.003106/0.019, allocations: 0.6497 MB / 0.5643 GB, free: 6.48 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.836091199889779]