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.0009317/0.0009317, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.0009674/0.0009674, allocations: 165 kB / 24.25 MB, free: 208 kB / 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 0.8906/0.8906, allocations: 177.1 MB / 204.7 MB, free: 5.473 MB / 186.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.821/1.821, allocations: 389.6 MB / 0.6355 GB, free: 12.24 MB / 0.6042 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.573e-06/1.573e-06, allocations: 0 / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.434e-05, allocations: 5.406 kB / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004329/0.004354, allocations: 2.276 MB / 0.7776 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.007223, allocations: 1.416 MB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.007491, allocations: 9.625 kB / 0.779 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.008024, allocations: 175.1 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.008588, allocations: 220.1 kB / 0.7793 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.009066, allocations: 188.4 kB / 0.7795 GB, free: 1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.009637, allocations: 434.7 kB / 0.7799 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.009839, allocations: 67.52 kB / 0.78 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.01088, allocations: 321.5 kB / 0.7803 GB, free: 236 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.01115, allocations: 152.5 kB / 0.7805 GB, free: 84 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.0112, allocations: 24 kB / 0.7805 GB, free: 60 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.01143, allocations: 75.91 kB / 0.7806 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.01156, allocations: 116.5 kB / 0.7807 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.01167, allocations: 99.62 kB / 0.7808 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.01219, allocations: 320.2 kB / 0.7811 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.0122, allocations: 0 / 0.7811 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.422e-06/0.0122, allocations: 0 / 0.7811 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.01221, allocations: 3.938 kB / 0.7811 GB, free: 15.46 MB / 0.7448 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.0009095/0.01312, allocations: 0.6165 MB / 0.7817 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.01316, allocations: 9.344 kB / 0.7817 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.01324, allocations: 34.62 kB / 0.7817 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.01368, allocations: 303.8 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.01371, allocations: 12.38 kB / 0.782 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.01374, allocations: 21.27 kB / 0.782 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.01403, allocations: 173.9 kB / 0.7822 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.01405, allocations: 4.5 kB / 0.7822 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.01406, allocations: 4 kB / 0.7822 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.01407, allocations: 5 kB / 0.7822 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.01416, allocations: 37.58 kB / 0.7823 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/0.01494, allocations: 0.4904 MB / 0.7827 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.01514, allocations: 171.3 kB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.01518, allocations: 32.38 kB / 0.7829 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.0152, allocations: 7.938 kB / 0.7829 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.01536, allocations: 103.9 kB / 0.783 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.01536, allocations: 0 / 0.783 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002448/0.01561, allocations: 120 kB / 0.7831 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.01567, allocations: 106.8 kB / 0.7832 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.01607, allocations: 402.7 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.0161, allocations: 33.7 kB / 0.7837 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01621, allocations: 158.5 kB / 0.7838 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.01625, allocations: 43.72 kB / 0.7839 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01635, allocations: 69.66 kB / 0.7839 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01648, allocations: 355.5 kB / 0.7843 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.01655, allocations: 34.67 kB / 0.7843 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.01668, allocations: 169.4 kB / 0.7845 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.01684, allocations: 116.9 kB / 0.7846 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01684, allocations: 0.8438 kB / 0.7846 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002707/0.01711, allocations: 166.9 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01713, allocations: 5.031 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.01714, allocations: 11.92 kB / 0.7847 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01715, allocations: 3.938 kB / 0.7847 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01734, allocations: 45.73 kB / 0.7848 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.01734, allocations: 11.92 kB / 0.7848 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.01749, allocations: 27.94 kB / 0.7848 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.01752, allocations: 8 kB / 0.7848 GB, free: 11.34 MB / 0.7448 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 0.0001273/0.01764, allocations: 135.6 kB / 0.785 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.01769, allocations: 25.56 kB / 0.785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01791, allocations: 117 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01792, allocations: 7.984 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01792, allocations: 3.938 kB / 0.7851 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01792, allocations: 0.9375 kB / 0.7851 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.01813, allocations: 166.2 kB / 0.7853 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01813, allocations: 0.9375 kB / 0.7853 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.01818, allocations: 8 kB / 0.7853 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.01818, allocations: 4 kB / 0.7853 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01819, allocations: 8.719 kB / 0.7853 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.0182, allocations: 3.984 kB / 0.7853 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.0182, allocations: 4.875 kB / 0.7853 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.01838, allocations: 134.3 kB / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.01843, allocations: 44.62 kB / 0.7855 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.01848, allocations: 11.98 kB / 0.7855 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.01856, allocations: 9.141 kB / 0.7855 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.01862, allocations: 23.91 kB / 0.7855 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01864, allocations: 11.98 kB / 0.7855 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001823/0.01882, allocations: 158.4 kB / 0.7857 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01882, allocations: 0 / 0.7857 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002873/0.01911, allocations: 63.94 kB / 0.7857 GB, free: 10.37 MB / 0.7448 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.001737/0.02085, allocations: 0.5219 MB / 0.7862 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.02109, allocations: 105.2 kB / 0.7863 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.02109, allocations: 5.406 kB / 0.7864 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.02117, allocations: 41.78 kB / 0.7864 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.02155, allocations: 98.48 kB / 0.7865 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02268, allocations: 0.5522 MB / 0.787 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.221e-05/0.02277, allocations: 108.6 kB / 0.7871 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.02291, allocations: 48.12 kB / 0.7872 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.02313, allocations: 119.3 kB / 0.7873 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of SimCode: time 1.262e-06/0.02313, allocations: 1.062 kB / 0.7873 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.01136/0.03448, allocations: 5.489 MB / 0.7927 GB, free: 3.699 MB / 0.7448 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.988279979676008]