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.000889/0.000889, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009037/0.0009037, allocations: 161.1 kB / 24.96 MB, free: 8.719 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 0.9015/0.9015, allocations: 177.1 MB / 205.4 MB, free: 5.461 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.796/1.796, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.433e-06/1.433e-06, allocations: 3.938 kB / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.8e-05, allocations: 2.312 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.00261/0.002628, allocations: 2.285 MB / 0.7782 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.00432, allocations: 1.422 MB / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.004456, allocations: 8.594 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.004831, allocations: 161.4 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.005168, allocations: 227.3 kB / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.00543, allocations: 195 kB / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.005761, allocations: 438.8 kB / 0.7806 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.005896, allocations: 67.52 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.00651, allocations: 317.7 kB / 0.7809 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.006673, allocations: 147.6 kB / 0.7811 GB, free: 208 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.006704, allocations: 24 kB / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.006831, allocations: 71.91 kB / 0.7812 GB, free: 112 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.006929, allocations: 119.6 kB / 0.7813 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.007002, allocations: 94.78 kB / 0.7814 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.007321, allocations: 326.7 kB / 0.7817 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.007323, allocations: 0 / 0.7817 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.007323, allocations: 0 / 0.7817 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.007327, allocations: 0 / 0.7817 GB, free: 15.58 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.0005608/0.007888, allocations: 0.6152 MB / 0.7823 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.007918, allocations: 13.33 kB / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.007967, allocations: 32.91 kB / 0.7823 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.008243, allocations: 308.9 kB / 0.7826 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.00826, allocations: 13.16 kB / 0.7826 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.008277, allocations: 16.38 kB / 0.7826 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.008453, allocations: 170.8 kB / 0.7828 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.008463, allocations: 11.86 kB / 0.7828 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.008473, allocations: 5.75 kB / 0.7828 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.008477, allocations: 4 kB / 0.7828 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.008529, allocations: 37.62 kB / 0.7829 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.00901, allocations: 0.4895 MB / 0.7833 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.00914, allocations: 177.2 kB / 0.7835 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.009167, allocations: 21.72 kB / 0.7835 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.009178, allocations: 4 kB / 0.7835 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.00929, allocations: 108.4 kB / 0.7836 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.009291, allocations: 1.594 kB / 0.7836 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001577/0.009449, allocations: 115.2 kB / 0.7837 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.009488, allocations: 110.8 kB / 0.7839 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.00973, allocations: 406 kB / 0.7842 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.009751, allocations: 34.52 kB / 0.7843 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.009818, allocations: 153.5 kB / 0.7844 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.009848, allocations: 40.59 kB / 0.7845 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.009912, allocations: 77.62 kB / 0.7845 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.009996, allocations: 351.3 kB / 0.7849 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.01004, allocations: 34.67 kB / 0.7849 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.01012, allocations: 165.3 kB / 0.7851 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.01022, allocations: 115.1 kB / 0.7852 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01022, allocations: 1.469 kB / 0.7852 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001531/0.01037, allocations: 169.9 kB / 0.7853 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01039, allocations: 4.875 kB / 0.7853 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01039, allocations: 7.938 kB / 0.7853 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.0104, allocations: 1.062 kB / 0.7853 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01052, allocations: 56.41 kB / 0.7854 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01052, allocations: 4 kB / 0.7854 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.0106, allocations: 25.28 kB / 0.7854 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.01062, allocations: 11.98 kB / 0.7854 GB, free: 11.46 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 9.206e-05/0.01071, allocations: 139.5 kB / 0.7856 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.01074, allocations: 24.91 kB / 0.7856 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.01088, allocations: 132.9 kB / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01089, allocations: 1.062 kB / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01089, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01089, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.01103, allocations: 158.8 kB / 0.7859 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01103, allocations: 0 / 0.7859 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.01106, allocations: 15.98 kB / 0.7859 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01106, allocations: 4.938 kB / 0.7859 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01107, allocations: 0 / 0.7859 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01107, allocations: 3.938 kB / 0.7859 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01107, allocations: 8.641 kB / 0.7859 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.01118, allocations: 142 kB / 0.786 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.01122, allocations: 43.64 kB / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.01124, allocations: 9.125 kB / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.01129, allocations: 7.984 kB / 0.7861 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01134, allocations: 27.89 kB / 0.7861 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01135, allocations: 9.469 kB / 0.7861 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001082/0.01145, allocations: 160.7 kB / 0.7863 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01145, allocations: 0 / 0.7863 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001731/0.01163, allocations: 63.92 kB / 0.7863 GB, free: 10.48 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.001087/0.01272, allocations: 0.5222 MB / 0.7869 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01286, allocations: 106.1 kB / 0.787 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.01287, allocations: 11.94 kB / 0.787 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.01292, allocations: 34.41 kB / 0.787 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01315, allocations: 107 kB / 0.7871 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.01384, allocations: 0.5512 MB / 0.7876 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.948e-05/0.0139, allocations: 117.2 kB / 0.7878 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.028e-05/0.01398, allocations: 47.78 kB / 0.7878 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01412, allocations: 115.9 kB / 0.7879 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01412, allocations: 3.438 kB / 0.7879 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.006742/0.02086, allocations: 5.466 MB / 0.7933 GB, free: 3.828 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.7919670743867755]