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.001108/0.001108, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001746/0.001746, allocations: 173.8 kB / 25.18 MB, free: 9.109 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.9427/0.9427, allocations: 177.1 MB / 205.6 MB, free: 5.039 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.826/1.826, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.744e-06/1.744e-06, allocations: 0 / 0.7755 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.92e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002928/0.002947, allocations: 2.274 MB / 0.7778 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.004589, allocations: 1.423 MB / 0.7791 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.004711, allocations: 7.938 kB / 0.7792 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.005065, allocations: 175.1 kB / 0.7793 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.005372, allocations: 224.5 kB / 0.7795 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.005592, allocations: 187.4 kB / 0.7797 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.0059, allocations: 441.7 kB / 0.7801 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.006031, allocations: 67.52 kB / 0.7802 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005972/0.006628, allocations: 314.2 kB / 0.7805 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006767, allocations: 143.6 kB / 0.7806 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.006799, allocations: 24 kB / 0.7807 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.006919, allocations: 83.89 kB / 0.7807 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.007011, allocations: 123.3 kB / 0.7809 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.007087, allocations: 91.64 kB / 0.7809 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.007404, allocations: 322.8 kB / 0.7812 GB, free: 224 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007406, allocations: 3.938 kB / 0.7813 GB, free: 220 kB / 0.7292 GB Notification: Performance of FrontEnd: time 6.22e-07/0.007406, allocations: 0 / 0.7813 GB, free: 220 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.007411, allocations: 0 / 0.7813 GB, free: 220 kB / 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.00059/0.008001, allocations: 0.6151 MB / 0.7819 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.008032, allocations: 13.34 kB / 0.7819 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.008081, allocations: 32.91 kB / 0.7819 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.008363, allocations: 297.2 kB / 0.7822 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.008385, allocations: 12.38 kB / 0.7822 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.008405, allocations: 21.61 kB / 0.7822 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.008589, allocations: 177.9 kB / 0.7824 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.008597, allocations: 3.938 kB / 0.7824 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.008608, allocations: 4.812 kB / 0.7824 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008615, allocations: 4 kB / 0.7824 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.008671, allocations: 38.98 kB / 0.7824 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.009154, allocations: 497.1 kB / 0.7829 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.00929, allocations: 171.5 kB / 0.7831 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.009322, allocations: 35.41 kB / 0.7831 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.009335, allocations: 96 / 0.7831 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.009449, allocations: 107.9 kB / 0.7832 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.00945, allocations: 5.531 kB / 0.7832 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001631/0.009613, allocations: 123.3 kB / 0.7833 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.009658, allocations: 102.8 kB / 0.7834 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.009907, allocations: 410 kB / 0.7838 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.009927, allocations: 30.45 kB / 0.7838 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.01, allocations: 161.5 kB / 0.784 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.01003, allocations: 40.69 kB / 0.784 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.0101, allocations: 73.64 kB / 0.7841 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.01019, allocations: 355.8 kB / 0.7845 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.01024, allocations: 34.67 kB / 0.7845 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.01033, allocations: 164.5 kB / 0.7846 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.01045, allocations: 116.7 kB / 0.7848 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01045, allocations: 0 / 0.7848 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001589/0.01061, allocations: 166.7 kB / 0.7849 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.01062, allocations: 4 kB / 0.7849 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.01063, allocations: 8.984 kB / 0.7849 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.01063, allocations: 4 kB / 0.7849 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01075, allocations: 47.92 kB / 0.785 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.01075, allocations: 0.625 kB / 0.785 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.01083, allocations: 40.39 kB / 0.785 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01085, allocations: 4.594 kB / 0.785 GB, free: 12.1 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.0001233/0.01097, allocations: 136.4 kB / 0.7851 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.011, allocations: 23.97 kB / 0.7852 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.01113, allocations: 124.9 kB / 0.7853 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01113, allocations: 4.688 kB / 0.7853 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01114, allocations: 0 / 0.7853 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01114, allocations: 1.125 kB / 0.7853 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.01127, allocations: 161.7 kB / 0.7854 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01127, allocations: 0 / 0.7854 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.0113, allocations: 12.91 kB / 0.7855 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.0113, allocations: 0 / 0.7855 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.01131, allocations: 8 kB / 0.7855 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01131, allocations: 4.703 kB / 0.7855 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01131, allocations: 3.938 kB / 0.7855 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.01142, allocations: 135 kB / 0.7856 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.01145, allocations: 36.78 kB / 0.7856 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.01148, allocations: 15.92 kB / 0.7857 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.01153, allocations: 13.42 kB / 0.7857 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.01157, allocations: 23.91 kB / 0.7857 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.01158, allocations: 15.98 kB / 0.7857 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001085/0.01169, allocations: 154.1 kB / 0.7859 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01169, allocations: 0 / 0.7859 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001589/0.01185, allocations: 67.94 kB / 0.7859 GB, free: 11.12 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.001108/0.01296, allocations: 0.5178 MB / 0.7864 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.0131, allocations: 106.8 kB / 0.7865 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.0131, allocations: 4 kB / 0.7865 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.934e-05/0.01315, allocations: 44.77 kB / 0.7866 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01337, allocations: 101.9 kB / 0.7867 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.01405, allocations: 0.5956 MB / 0.7873 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.01419, allocations: 208.6 kB / 0.7874 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.01433, allocations: 119.3 kB / 0.7876 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01433, allocations: 0 / 0.7876 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of Templates: time 0.005053/0.01938, allocations: 5.281 MB / 0.7927 GB, free: 4.469 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 > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.007311555556953]