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.002519/0.002519, allocations: 88.05 kB / 19.44 MB, free: 316 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.003083/0.003083, allocations: 169.3 kB / 22.76 MB, free: 1.641 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.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.00329/0.00329, allocations: 234.2 kB / 259.8 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 1.289/1.289, allocations: 138.4 MB / 454.7 MB, free: 1.48 MB / 362.7 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.809e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002691/0.00272, allocations: 1.282 MB / 0.5555 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.00737, allocations: 3.351 MB / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.007399, allocations: 0 / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.007416, allocations: 7.938 kB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.007485, allocations: 11.91 kB / 0.5588 GB, free: 12.22 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.008069, allocations: 107.4 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.008156, allocations: 35.84 kB / 0.559 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.00819, allocations: 0 / 0.559 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.008274, allocations: 31.91 kB / 0.559 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.008336, allocations: 15.97 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.008353, allocations: 4 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.008577, allocations: 63.75 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.008596, allocations: 8 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.008628, allocations: 11.97 kB / 0.5591 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.008834, allocations: 71.69 kB / 0.5592 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.008839, allocations: 8 kB / 0.5592 GB, free: 11.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00884, allocations: 0 / 0.5592 GB, free: 11.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.008845, allocations: 0 / 0.5592 GB, free: 11.87 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.0004939/0.009339, allocations: 376.2 kB / 0.5595 GB, free: 11.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.009375, allocations: 8.75 kB / 0.5595 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.009495, allocations: 8.938 kB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.009598, allocations: 108.6 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.009611, allocations: 4.375 kB / 0.5596 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.00964, allocations: 16.3 kB / 0.5597 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.009827, allocations: 143.3 kB / 0.5598 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.009836, allocations: 192 / 0.5598 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.009849, allocations: 4.125 kB / 0.5598 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.009855, allocations: 4 kB / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.009913, allocations: 15.98 kB / 0.5598 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.0101, allocations: 120.6 kB / 0.5599 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.01022, allocations: 55.03 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.01025, allocations: 19.69 kB / 0.56 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.01087, allocations: 296.5 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.0109, allocations: 33.39 kB / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.0109, allocations: 4 kB / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005996/0.0115, allocations: 237.9 kB / 0.5606 GB, free: 10.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.01154, allocations: 55.41 kB / 0.5606 GB, free: 10.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01166, allocations: 157.9 kB / 0.5608 GB, free: 10 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.01168, allocations: 25.7 kB / 0.5608 GB, free: 9.969 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.01176, allocations: 138.8 kB / 0.5609 GB, free: 9.828 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.01179, allocations: 27.75 kB / 0.5609 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.01185, allocations: 35.36 kB / 0.561 GB, free: 9.758 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.01209, allocations: 0.4883 MB / 0.5615 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.01213, allocations: 19.98 kB / 0.5615 GB, free: 9.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.01221, allocations: 62.14 kB / 0.5615 GB, free: 9.152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.01233, allocations: 102 kB / 0.5616 GB, free: 9.027 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01234, allocations: 0 / 0.5616 GB, free: 9.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001556/0.01249, allocations: 97.5 kB / 0.5617 GB, free: 8.926 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01251, allocations: 8 kB / 0.5617 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01251, allocations: 4.562 kB / 0.5617 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.01253, allocations: 4 kB / 0.5617 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.01261, allocations: 24.2 kB / 0.5618 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01262, allocations: 0 / 0.5618 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.01266, allocations: 12 kB / 0.5618 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01266, allocations: 4 kB / 0.5618 GB, free: 8.871 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 0.0001264/0.01279, allocations: 168.5 kB / 0.5619 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.01282, allocations: 4 kB / 0.5619 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.01286, allocations: 16.05 kB / 0.562 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01286, allocations: 0 / 0.562 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01286, allocations: 4 kB / 0.562 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01287, allocations: 3.984 kB / 0.562 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.01323, allocations: 132.6 kB / 0.5621 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01324, allocations: 0 / 0.5621 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.01332, allocations: 12 kB / 0.5621 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01332, allocations: 4 kB / 0.5621 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01334, allocations: 4 kB / 0.5621 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.01334, allocations: 3.984 kB / 0.5621 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01334, allocations: 0 / 0.5621 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.01359, allocations: 231.8 kB / 0.5623 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.01362, allocations: 11.98 kB / 0.5623 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.01363, allocations: 0 / 0.5623 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.01372, allocations: 4 kB / 0.5623 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.01374, allocations: 3.984 kB / 0.5624 GB, free: 8.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.01375, allocations: 8 kB / 0.5624 GB, free: 8.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.511e-05/0.01382, allocations: 119.2 kB / 0.5625 GB, free: 8.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 0 / 0.5625 GB, free: 8.086 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01406, allocations: 16 kB / 0.5625 GB, free: 8.07 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.0001486/0.01421, allocations: 99.25 kB / 0.5626 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.01436, allocations: 59.59 kB / 0.5626 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01436, allocations: 0 / 0.5626 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.0144, allocations: 23.62 kB / 0.5627 GB, free: 7.875 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01465, allocations: 18.58 kB / 0.5627 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.01523, allocations: 262.5 kB / 0.5629 GB, free: 7.574 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.143e-05/0.0153, allocations: 67.34 kB / 0.563 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.01534, allocations: 8 kB / 0.563 GB, free: 7.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.01537, allocations: 12.5 kB / 0.563 GB, free: 7.469 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01537, allocations: 0 / 0.563 GB, free: 7.469 MB / 490.7 MB Notification: Performance of Templates: time 0.003663/0.01904, allocations: 0.6602 MB / 0.5637 GB, free: 6.824 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: 6.0973150309873745]