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.0009388/0.0009388, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009337/0.0009337, allocations: 173 kB / 23.03 MB, free: 1.547 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.9433/0.9433, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001707/0.001707, allocations: 233.1 kB / 260.2 MB, free: 12.84 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.7237/0.7237, allocations: 138.4 MB / 455.2 MB, free: 29.84 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 1.613e-06/1.613e-06, allocations: 0 / 0.555 GB, free: 208 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.895e-05, allocations: 5.547 kB / 0.5551 GB, free: 204 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002517/0.002546, allocations: 1.308 MB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.005679, allocations: 3.39 MB / 0.5596 GB, free: 11.47 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.005708, allocations: 4 kB / 0.5596 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.005733, allocations: 0 / 0.5596 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.005781, allocations: 3.984 kB / 0.5596 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.006327, allocations: 107.4 kB / 0.5597 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.006402, allocations: 43.84 kB / 0.5598 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.006436, allocations: 3.984 kB / 0.5598 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.006492, allocations: 19.98 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.006558, allocations: 15.97 kB / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.006571, allocations: 4 kB / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.006771, allocations: 67.75 kB / 0.5599 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.006784, allocations: 7.984 kB / 0.5599 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.006808, allocations: 15.92 kB / 0.5599 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.006966, allocations: 67.8 kB / 0.56 GB, free: 11.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.00697, allocations: 0 / 0.56 GB, free: 11.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00697, allocations: 0 / 0.56 GB, free: 11.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.006975, allocations: 0 / 0.56 GB, free: 11.11 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.0005582/0.007533, allocations: 372.6 kB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.007573, allocations: 13.92 kB / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.007682, allocations: 16.83 kB / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.875e-05/0.007751, allocations: 120.5 kB / 0.5605 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.007762, allocations: 384 / 0.5605 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.007783, allocations: 12.38 kB / 0.5605 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.007904, allocations: 127.3 kB / 0.5606 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.00791, allocations: 192 / 0.5606 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.007921, allocations: 8.125 kB / 0.5606 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.007927, allocations: 3.938 kB / 0.5606 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.007962, allocations: 11.98 kB / 0.5606 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.008084, allocations: 128.6 kB / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.736e-05/0.008161, allocations: 62.98 kB / 0.5608 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.008185, allocations: 15.67 kB / 0.5608 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/0.008633, allocations: 284.9 kB / 0.5611 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.008658, allocations: 41.39 kB / 0.5611 GB, free: 9.754 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.008659, allocations: 0 / 0.5611 GB, free: 9.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.000464/0.009123, allocations: 233.6 kB / 0.5614 GB, free: 9.488 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.009151, allocations: 51.41 kB / 0.5614 GB, free: 9.426 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.009225, allocations: 161.9 kB / 0.5616 GB, free: 9.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.009236, allocations: 29.7 kB / 0.5616 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.009284, allocations: 134.8 kB / 0.5617 GB, free: 9.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.009302, allocations: 31.73 kB / 0.5618 GB, free: 9.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.009336, allocations: 31.38 kB / 0.5618 GB, free: 9.008 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.009454, allocations: 0.4884 MB / 0.5623 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.009477, allocations: 8 kB / 0.5623 GB, free: 8.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.009531, allocations: 66.11 kB / 0.5623 GB, free: 8.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.869e-05/0.009619, allocations: 89.92 kB / 0.5624 GB, free: 8.297 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.009621, allocations: 4 kB / 0.5624 GB, free: 8.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001121/0.009733, allocations: 93.72 kB / 0.5625 GB, free: 8.195 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.009749, allocations: 4 kB / 0.5625 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.009754, allocations: 4 kB / 0.5625 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.009767, allocations: 3.938 kB / 0.5625 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.00982, allocations: 20 kB / 0.5625 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.009828, allocations: 3.938 kB / 0.5626 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.009852, allocations: 11.98 kB / 0.5626 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.009859, allocations: 4.125 kB / 0.5626 GB, free: 8.145 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.316e-05/0.009942, allocations: 164.5 kB / 0.5627 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.009964, allocations: 7.953 kB / 0.5627 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.009991, allocations: 12.12 kB / 0.5627 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009992, allocations: 0 / 0.5627 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.009996, allocations: 0 / 0.5627 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.01, allocations: 0 / 0.5627 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01015, allocations: 132.6 kB / 0.5629 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01015, allocations: 0 / 0.5629 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.0102, allocations: 16.42 kB / 0.5629 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.0102, allocations: 0 / 0.5629 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.01021, allocations: 8 kB / 0.5629 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01021, allocations: 11.94 kB / 0.5629 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01021, allocations: 0 / 0.5629 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.01037, allocations: 219.8 kB / 0.5631 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01039, allocations: 7.953 kB / 0.5631 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.0104, allocations: 0 / 0.5631 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.01044, allocations: 3.984 kB / 0.5631 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.01046, allocations: 8 kB / 0.5631 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.01047, allocations: 4 kB / 0.5631 GB, free: 7.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.747e-05/0.0105, allocations: 127.2 kB / 0.5633 GB, free: 7.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0105, allocations: 4 kB / 0.5633 GB, free: 7.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000168/0.01067, allocations: 16 kB / 0.5633 GB, free: 7.355 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.0001023/0.01077, allocations: 99.19 kB / 0.5634 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.01087, allocations: 43.61 kB / 0.5634 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01087, allocations: 0 / 0.5634 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.01089, allocations: 23.67 kB / 0.5634 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.01106, allocations: 11.47 kB / 0.5634 GB, free: 7.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.01164, allocations: 278.3 kB / 0.5637 GB, free: 6.867 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.01168, allocations: 59.34 kB / 0.5638 GB, free: 6.789 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.01171, allocations: 11.77 kB / 0.5638 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.01173, allocations: 16.5 kB / 0.5638 GB, free: 6.762 MB / 490.7 MB Notification: Performance of SimCode: time 5e-07/0.01173, allocations: 3.938 kB / 0.5638 GB, free: 6.758 MB / 490.7 MB Notification: Performance of Templates: time 0.002424/0.01416, allocations: 0.6933 MB / 0.5645 GB, free: 6.078 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.6643834891729057]