Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.0006773/0.0006773, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009647/0.001642, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006935/0.0006935, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001662, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9397/0.9397, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09038/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.82/1.82, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4517/2.271, allocations: 127.1 MB / 0.7435 GB, free: 4.523 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.259e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002295/0.002307, allocations: 2.302 MB / 0.747 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003868, allocations: 1.422 MB / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.003982, allocations: 12.41 kB / 0.7484 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.004258, allocations: 171 kB / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.00455, allocations: 233.5 kB / 0.7488 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.004785, allocations: 195.2 kB / 0.749 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.00511, allocations: 423.8 kB / 0.7494 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.005239, allocations: 67.52 kB / 0.7495 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.005912, allocations: 381.4 kB / 0.7498 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.006066, allocations: 148.2 kB / 0.75 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.006097, allocations: 24.66 kB / 0.75 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.006216, allocations: 76.41 kB / 0.7501 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.006299, allocations: 99.72 kB / 0.7502 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.006368, allocations: 77.22 kB / 0.7502 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.006678, allocations: 298.8 kB / 0.7505 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.006688, allocations: 0 / 0.7505 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.006688, allocations: 0 / 0.7505 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.006698, allocations: 6 kB / 0.7505 GB, free: 13.42 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006561/0.007355, allocations: 0.6812 MB / 0.7512 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.007383, allocations: 8.031 kB / 0.7512 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.007437, allocations: 32.91 kB / 0.7512 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.00772, allocations: 302.3 kB / 0.7515 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.007738, allocations: 16.31 kB / 0.7515 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.007758, allocations: 16.38 kB / 0.7516 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.007931, allocations: 173.9 kB / 0.7517 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.007941, allocations: 3.938 kB / 0.7517 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.007953, allocations: 9.766 kB / 0.7517 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.007958, allocations: 4 kB / 0.7517 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.008011, allocations: 37.58 kB / 0.7518 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.008506, allocations: 0.4908 MB / 0.7523 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.008652, allocations: 170.6 kB / 0.7524 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.008683, allocations: 30.8 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.008696, allocations: 4.5 kB / 0.7525 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.008822, allocations: 104.6 kB / 0.7526 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.008823, allocations: 4 kB / 0.7526 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001655/0.008988, allocations: 121.4 kB / 0.7527 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.009021, allocations: 81.11 kB / 0.7528 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.009276, allocations: 406 kB / 0.7531 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.009298, allocations: 33.7 kB / 0.7532 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.009369, allocations: 165.4 kB / 0.7533 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.009393, allocations: 38.47 kB / 0.7534 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.009457, allocations: 69.77 kB / 0.7534 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.009545, allocations: 362.6 kB / 0.7538 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.009587, allocations: 30.67 kB / 0.7538 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.009672, allocations: 163.1 kB / 0.754 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.009781, allocations: 127.3 kB / 0.7541 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009783, allocations: 0 / 0.7541 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001583/0.009942, allocations: 168.1 kB / 0.7542 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.009953, allocations: 4 kB / 0.7542 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.00996, allocations: 15.91 kB / 0.7543 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.009972, allocations: 0.6562 kB / 0.7543 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.0101, allocations: 55.91 kB / 0.7543 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.0101, allocations: 5.125 kB / 0.7543 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.01018, allocations: 31.88 kB / 0.7544 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.01023, allocations: 8.891 kB / 0.7544 GB, free: 9.242 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.895e-05/0.01032, allocations: 143.1 kB / 0.7545 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.01035, allocations: 28.69 kB / 0.7545 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01048, allocations: 117 kB / 0.7546 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01048, allocations: 0.625 kB / 0.7546 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01049, allocations: 0.9062 kB / 0.7546 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01049, allocations: 3.984 kB / 0.7546 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.01061, allocations: 157.7 kB / 0.7548 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01062, allocations: 1.188 kB / 0.7548 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.01065, allocations: 15.94 kB / 0.7548 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.01068, allocations: 51.62 kB / 0.7549 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01069, allocations: 0.9062 kB / 0.7549 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.01069, allocations: 0 / 0.7549 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01069, allocations: 9.25 kB / 0.7549 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0107, allocations: 0 / 0.7549 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.0108, allocations: 136.8 kB / 0.755 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.01083, allocations: 13.53 kB / 0.755 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.01088, allocations: 16.23 kB / 0.755 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.01092, allocations: 27.89 kB / 0.7551 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01093, allocations: 12 kB / 0.7551 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001153/0.01105, allocations: 153.5 kB / 0.7552 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 0 / 0.7552 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001707/0.01122, allocations: 73.17 kB / 0.7553 GB, free: 8.254 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001221/0.01244, allocations: 0.5636 MB / 0.7558 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01259, allocations: 104.2 kB / 0.7559 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.0126, allocations: 8 kB / 0.7559 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.687e-05/0.01265, allocations: 50.33 kB / 0.756 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.01304, allocations: 0.5777 MB / 0.7565 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.0143, allocations: 0.5623 MB / 0.7571 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.01436, allocations: 114.3 kB / 0.7572 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.427e-05/0.01443, allocations: 42.94 kB / 0.7572 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.01457, allocations: 117.8 kB / 0.7574 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.01457, allocations: 0 / 0.7574 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of Templates: time 0.007063/0.02163, allocations: 5.596 MB / 0.7628 GB, free: 0.8945 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.648398831486702]