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.001033/0.001033, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001506/0.001506, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.018/1.018, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.001635/0.001635, allocations: 231.7 kB / 260.5 MB, free: 12.69 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.742/0.742, allocations: 138.4 MB / 455.5 MB, free: 29.99 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.234e-06/2.234e-06, allocations: 0 / 0.5555 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.387e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001683/0.001707, allocations: 1.306 MB / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.004418, allocations: 3.347 MB / 0.5601 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.004452, allocations: 0 / 0.5601 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.00447, allocations: 3.938 kB / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.004515, allocations: 3.938 kB / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.004937, allocations: 115.4 kB / 0.5602 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.004998, allocations: 35.91 kB / 0.5602 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.005028, allocations: 0 / 0.5602 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.005082, allocations: 31.84 kB / 0.5603 GB, free: 11.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.005135, allocations: 11.98 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.005144, allocations: 0 / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.005297, allocations: 75.73 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.005307, allocations: 7.984 kB / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.005325, allocations: 15.98 kB / 0.5604 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.005461, allocations: 71.73 kB / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.005463, allocations: 0 / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005464, allocations: 0 / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.005468, allocations: 0 / 0.5604 GB, free: 10.85 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.0003091/0.005777, allocations: 372.6 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.005813, allocations: 9.938 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.005906, allocations: 16.89 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.928e-05/0.005975, allocations: 112.5 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.005986, allocations: 8.375 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.006007, allocations: 12.34 kB / 0.5609 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.006122, allocations: 123.3 kB / 0.5611 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.006129, allocations: 192 / 0.5611 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.006139, allocations: 12.12 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006144, allocations: 0 / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.006173, allocations: 19.95 kB / 0.5611 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.006275, allocations: 101.2 kB / 0.5612 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.006336, allocations: 63.03 kB / 0.5613 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.006352, allocations: 15.62 kB / 0.5613 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/0.00673, allocations: 292.9 kB / 0.5615 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.006754, allocations: 37.39 kB / 0.5616 GB, free: 9.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.006755, allocations: 0 / 0.5616 GB, free: 9.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003583/0.007114, allocations: 225.6 kB / 0.5618 GB, free: 9.266 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.00714, allocations: 55.39 kB / 0.5619 GB, free: 9.199 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.007203, allocations: 153.9 kB / 0.562 GB, free: 9.031 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007214, allocations: 29.7 kB / 0.562 GB, free: 8.996 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.007259, allocations: 134.8 kB / 0.5622 GB, free: 8.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.007273, allocations: 31.73 kB / 0.5622 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.007305, allocations: 35.36 kB / 0.5622 GB, free: 8.785 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.007429, allocations: 0.4884 MB / 0.5627 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.007441, allocations: 4 kB / 0.5627 GB, free: 8.281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.007489, allocations: 68.28 kB / 0.5628 GB, free: 8.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.007558, allocations: 82.03 kB / 0.5628 GB, free: 8.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00756, allocations: 0 / 0.5628 GB, free: 8.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001015/0.007661, allocations: 101.4 kB / 0.5629 GB, free: 7.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.007676, allocations: 8 kB / 0.5629 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.007682, allocations: 0 / 0.5629 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.007696, allocations: 0 / 0.5629 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.007751, allocations: 20.28 kB / 0.563 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007755, allocations: 3.984 kB / 0.563 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.007777, allocations: 4.438 kB / 0.563 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.007781, allocations: 3.938 kB / 0.563 GB, free: 7.941 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 7.124e-05/0.007852, allocations: 164.5 kB / 0.5631 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.00788, allocations: 7.938 kB / 0.5631 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.007908, allocations: 16.2 kB / 0.5632 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.00791, allocations: 4 kB / 0.5632 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.007913, allocations: 4 kB / 0.5632 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007916, allocations: 0 / 0.5632 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.008066, allocations: 113.2 kB / 0.5633 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008067, allocations: 0 / 0.5633 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.008114, allocations: 15.98 kB / 0.5633 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.008117, allocations: 3.938 kB / 0.5633 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.008123, allocations: 4 kB / 0.5633 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008124, allocations: 0 / 0.5633 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008126, allocations: 4 kB / 0.5633 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.00826, allocations: 219.8 kB / 0.5635 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.008282, allocations: 11.95 kB / 0.5635 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.008292, allocations: 3.938 kB / 0.5635 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.008339, allocations: 8 kB / 0.5635 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.008352, allocations: 3.984 kB / 0.5635 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.008358, allocations: 4 kB / 0.5635 GB, free: 7.312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.169e-05/0.008389, allocations: 119.2 kB / 0.5637 GB, free: 7.195 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008389, allocations: 0 / 0.5637 GB, free: 7.195 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.008544, allocations: 16 kB / 0.5637 GB, free: 7.18 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.0001103/0.008654, allocations: 107.2 kB / 0.5638 GB, free: 7.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.008729, allocations: 43.61 kB / 0.5638 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.008731, allocations: 3.938 kB / 0.5638 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.008747, allocations: 19.67 kB / 0.5638 GB, free: 6.992 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.008962, allocations: 8 kB / 0.5638 GB, free: 6.984 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.009486, allocations: 266.5 kB / 0.5641 GB, free: 6.695 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.009519, allocations: 63.34 kB / 0.5642 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.009551, allocations: 7.781 kB / 0.5642 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.00961, allocations: 90.19 kB / 0.5643 GB, free: 6.516 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00961, allocations: 0 / 0.5643 GB, free: 6.516 MB / 490.7 MB Notification: Performance of Templates: time 0.002436/0.01205, allocations: 0.7213 MB / 0.565 GB, free: 5.809 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.5279876440763474]