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.0009645/0.0009645, allocations: 80.75 kB / 19.94 MB, free: 4.547 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: 181 kB / 23.36 MB, free: 1.133 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.002421/0.002421, allocations: 249.9 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.6879/0.6879, allocations: 138.4 MB / 402.2 MB, free: 0.5078 MB / 362.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.673e-06/1.673e-06, allocations: 0.75 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.963e-05, allocations: 4.516 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001743/0.001763, allocations: 1.31 MB / 463.6 MB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.005882, allocations: 3.371 MB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.005918, allocations: 0 / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.005936, allocations: 4.781 kB / 467 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.005983, allocations: 11.14 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.006442, allocations: 101.3 kB / 467.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.006508, allocations: 42.28 kB / 467.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.013e-05/0.006538, allocations: 4.328 kB / 467.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.006593, allocations: 30.78 kB / 467.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.006644, allocations: 13.48 kB / 467.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.006654, allocations: 2.969 kB / 467.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.006809, allocations: 71.62 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.006822, allocations: 4.188 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.006841, allocations: 20.88 kB / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.006984, allocations: 67.72 kB / 467.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006987, allocations: 0 / 467.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006988, allocations: 1.781 kB / 467.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.006991, allocations: 0 / 467.3 MB, free: 13.58 MB / 426.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.0002639/0.007255, allocations: 250 kB / 467.6 MB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.007284, allocations: 8.75 kB / 467.6 MB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.007366, allocations: 16.27 kB / 467.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.007421, allocations: 105.7 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.007431, allocations: 8.312 kB / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.00745, allocations: 12.91 kB / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.007546, allocations: 127.3 kB / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.007552, allocations: 192 / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.00756, allocations: 12.11 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.007564, allocations: 1.625 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.007589, allocations: 15.97 kB / 467.9 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.012e-05/0.007669, allocations: 65.05 kB / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.007727, allocations: 48.03 kB / 468 MB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.007742, allocations: 13.7 kB / 468 MB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.008078, allocations: 228.3 kB / 468.2 MB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.008098, allocations: 35.03 kB / 468.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.008099, allocations: 2.188 kB / 468.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000383/0.008482, allocations: 231 kB / 468.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.008507, allocations: 55.34 kB / 468.5 MB, free: 12.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.008559, allocations: 108.4 kB / 468.6 MB, free: 12.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.008572, allocations: 33.7 kB / 468.7 MB, free: 12.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.008605, allocations: 89.64 kB / 468.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.008619, allocations: 23.8 kB / 468.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.008648, allocations: 33.64 kB / 468.8 MB, free: 11.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.008718, allocations: 314.8 kB / 469.1 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.008729, allocations: 8.812 kB / 469.1 MB, free: 11.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.008763, allocations: 45.8 kB / 469.2 MB, free: 11.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.008817, allocations: 69.06 kB / 469.2 MB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008818, allocations: 0 / 469.2 MB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.714e-05/0.008905, allocations: 82.3 kB / 469.3 MB, free: 11.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.008915, allocations: 4 kB / 469.3 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008919, allocations: 5.5 kB / 469.3 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.008929, allocations: 0.5 kB / 469.3 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.008976, allocations: 19.98 kB / 469.3 MB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.00898, allocations: 4 kB / 469.3 MB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.009, allocations: 4.75 kB / 469.4 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.009005, allocations: 5.438 kB / 469.4 MB, free: 11.33 MB / 426.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 4.999e-05/0.009055, allocations: 118.7 kB / 469.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.009071, allocations: 10.7 kB / 469.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.009092, allocations: 12.11 kB / 469.5 MB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.009093, allocations: 3.938 kB / 469.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.009094, allocations: 4 kB / 469.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009097, allocations: 0 / 469.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.009262, allocations: 83.72 kB / 469.6 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009263, allocations: 0 / 469.6 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.009309, allocations: 16 kB / 469.6 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009311, allocations: 1.688 kB / 469.6 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.009319, allocations: 7.922 kB / 469.6 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.009321, allocations: 2.688 kB / 469.6 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009322, allocations: 0 / 469.6 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.996e-05/0.009421, allocations: 156.1 kB / 469.8 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.009438, allocations: 0 / 469.8 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.009449, allocations: 12.59 kB / 469.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.009492, allocations: 3.984 kB / 469.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.009503, allocations: 5 kB / 469.8 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.009506, allocations: 0 / 469.8 MB, free: 10.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.246e-06/0.009515, allocations: 12.84 kB / 469.8 MB, free: 10.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009515, allocations: 1.875 kB / 469.8 MB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.009647, allocations: 15.98 kB / 469.8 MB, free: 10.84 MB / 426.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 8.844e-05/0.009736, allocations: 77.83 kB / 469.9 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.009801, allocations: 42 kB / 469.9 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.009804, allocations: 0.6562 kB / 469.9 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.009843, allocations: 20.8 kB / 470 MB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.009959, allocations: 13.05 kB / 470 MB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.01039, allocations: 235.2 kB / 470.2 MB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.01042, allocations: 55.36 kB / 470.3 MB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.084e-05/0.01045, allocations: 11.08 kB / 470.3 MB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.0105, allocations: 67.38 kB / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01051, allocations: 1.062 kB / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of Templates: time 0.002089/0.01259, allocations: 0.7165 MB / 471 MB, free: 9.641 MB / 426.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.5320354970172048]