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.0009985/0.0009985, allocations: 80.88 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.001097/0.001097, 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.115/1.115, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001499/0.001499, allocations: 245 kB / 260.5 MB, free: 12.71 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.7266/0.7266, allocations: 138.4 MB / 402.2 MB, free: 0.5742 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 2.104e-06/2.104e-06, allocations: 3.938 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.907e-05, allocations: 7.031 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002894/0.002923, allocations: 1.35 MB / 463.7 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.006546, allocations: 3.374 MB / 467 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.006581, allocations: 0 / 467 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.006602, allocations: 6 kB / 467 MB, free: 13.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.006649, allocations: 9.844 kB / 467.1 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.007136, allocations: 112 kB / 467.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.007206, allocations: 30.11 kB / 467.2 MB, free: 13.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.007239, allocations: 7.609 kB / 467.2 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.007302, allocations: 30.36 kB / 467.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.007358, allocations: 9.594 kB / 467.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.00737, allocations: 3.688 kB / 467.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.007566, allocations: 73.14 kB / 467.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.007579, allocations: 8.703 kB / 467.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.007601, allocations: 15.39 kB / 467.3 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.00775, allocations: 72.23 kB / 467.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007753, allocations: 0 / 467.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007754, allocations: 1.25 kB / 467.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.007757, allocations: 1.438 kB / 467.4 MB, free: 13.57 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.0003399/0.008097, allocations: 245.7 kB / 467.6 MB, free: 13.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.00813, allocations: 9.812 kB / 467.7 MB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.008222, allocations: 11.64 kB / 467.7 MB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7e-05/0.008292, allocations: 112.7 kB / 467.8 MB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.008304, allocations: 5.594 kB / 467.8 MB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.008324, allocations: 13 kB / 467.8 MB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.008429, allocations: 131.4 kB / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.008436, allocations: 192 / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.008444, allocations: 5 kB / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.00845, allocations: 0 / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.008476, allocations: 13.95 kB / 467.9 MB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.877e-05/0.008575, allocations: 72.97 kB / 468 MB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.008636, allocations: 43.25 kB / 468.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.008653, allocations: 20.8 kB / 468.1 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/0.009009, allocations: 221.9 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.009031, allocations: 39 kB / 468.3 MB, free: 12.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.009032, allocations: 6.281 kB / 468.3 MB, free: 12.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003999/0.009432, allocations: 223.4 kB / 468.6 MB, free: 12.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.009458, allocations: 64.38 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.009512, allocations: 108.3 kB / 468.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.009523, allocations: 26.48 kB / 468.8 MB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.00956, allocations: 84.09 kB / 468.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.009574, allocations: 31.77 kB / 468.9 MB, free: 11.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.009603, allocations: 26.67 kB / 468.9 MB, free: 11.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.009674, allocations: 322.8 kB / 469.2 MB, free: 11.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.009683, allocations: 5.812 kB / 469.2 MB, free: 11.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.009716, allocations: 45.8 kB / 469.3 MB, free: 11.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.009769, allocations: 65.81 kB / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00977, allocations: 0 / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002147/0.009984, allocations: 80.34 kB / 469.4 MB, free: 11.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.009997, allocations: 11.94 kB / 469.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01, allocations: 2.625 kB / 469.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01002, allocations: 4 kB / 469.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.01007, allocations: 21.25 kB / 469.4 MB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01008, allocations: 12.55 kB / 469.4 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.0101, allocations: 0 / 469.4 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-06/0.0101, allocations: 6.031 kB / 469.5 MB, free: 11.35 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 5.59e-05/0.01016, allocations: 117.8 kB / 469.6 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.01018, allocations: 7.938 kB / 469.6 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.0102, allocations: 8.125 kB / 469.6 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.0102, allocations: 0 / 469.6 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0102, allocations: 0.6875 kB / 469.6 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01021, allocations: 3.984 kB / 469.6 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.01034, allocations: 87.25 kB / 469.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01034, allocations: 0 / 469.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.01039, allocations: 16.5 kB / 469.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.01039, allocations: 1.25 kB / 469.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.0104, allocations: 3.938 kB / 469.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.0104, allocations: 0.5 kB / 469.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.0104, allocations: 0 / 469.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.01051, allocations: 165.2 kB / 469.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.01053, allocations: 4 kB / 469.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.01054, allocations: 6.094 kB / 469.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.01058, allocations: 4 kB / 469.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.0106, allocations: 3.984 kB / 469.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01061, allocations: 8 kB / 469.9 MB, free: 10.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.346e-06/0.01061, allocations: 5.609 kB / 469.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01061, allocations: 0 / 469.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.01075, allocations: 12.53 kB / 469.9 MB, free: 10.87 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 9.684e-05/0.01085, allocations: 87.38 kB / 470 MB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.01091, allocations: 41.73 kB / 470 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01092, allocations: 0.9062 kB / 470 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.01093, allocations: 20.8 kB / 470 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.01106, allocations: 8.625 kB / 470.1 MB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.01154, allocations: 237.5 kB / 470.3 MB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.01157, allocations: 56.42 kB / 470.3 MB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.01161, allocations: 11.23 kB / 470.4 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.01166, allocations: 60.88 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01166, allocations: 0 / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.002515/0.01418, allocations: 0.7204 MB / 471.1 MB, free: 9.668 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.467701977584511]