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.001521/0.001521, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001251/0.001251, allocations: 161 kB / 24.17 MB, free: 332 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.9657/0.9657, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.996/1.996, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 177] 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.412e-06/1.412e-06, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.1e-05, allocations: 6.312 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.006324/0.006345, allocations: 2.284 MB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.008988, allocations: 1.418 MB / 0.7788 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.009259, allocations: 7.938 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.009759, allocations: 163.3 kB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005907/0.01035, allocations: 236.4 kB / 0.7792 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.01082, allocations: 179.4 kB / 0.7794 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006127/0.01143, allocations: 442.8 kB / 0.7798 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.01164, allocations: 64.42 kB / 0.7799 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.01268, allocations: 326.6 kB / 0.7802 GB, free: 380 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01296, allocations: 149.2 kB / 0.7803 GB, free: 232 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.013, allocations: 24 kB / 0.7803 GB, free: 208 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.01316, allocations: 83.83 kB / 0.7804 GB, free: 124 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.01326, allocations: 117.1 kB / 0.7805 GB, free: 8 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.01336, allocations: 95.77 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.01376, allocations: 322.8 kB / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01377, allocations: 0 / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01377, allocations: 0.5938 kB / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.01378, allocations: 0 / 0.7809 GB, free: 15.59 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.0006742/0.01445, allocations: 0.6132 MB / 0.7815 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.01448, allocations: 9.344 kB / 0.7815 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.01455, allocations: 36.91 kB / 0.7816 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.0149, allocations: 304.7 kB / 0.7819 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.01492, allocations: 8.375 kB / 0.7819 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.01494, allocations: 17.28 kB / 0.7819 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.01516, allocations: 177.9 kB / 0.782 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01517, allocations: 4.812 kB / 0.7821 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.01518, allocations: 11.98 kB / 0.7821 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.01519, allocations: 4.531 kB / 0.7821 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.01525, allocations: 42.08 kB / 0.7821 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.0158, allocations: 490.4 kB / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.01595, allocations: 175.3 kB / 0.7827 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.01598, allocations: 30.62 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.016, allocations: 1.75 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.01612, allocations: 107.9 kB / 0.7829 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.983e-06/0.01613, allocations: 3.938 kB / 0.7829 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001803/0.01631, allocations: 115.2 kB / 0.783 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.01635, allocations: 111.4 kB / 0.7831 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.01661, allocations: 398.6 kB / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.01664, allocations: 33.7 kB / 0.7835 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.01671, allocations: 163 kB / 0.7837 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.01674, allocations: 35.72 kB / 0.7837 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.01682, allocations: 73.64 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.01691, allocations: 354.7 kB / 0.7841 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.01696, allocations: 31.48 kB / 0.7841 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.01706, allocations: 168.5 kB / 0.7843 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01718, allocations: 111.6 kB / 0.7844 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01718, allocations: 4.781 kB / 0.7844 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001864/0.01737, allocations: 170.8 kB / 0.7846 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01738, allocations: 4 kB / 0.7846 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01739, allocations: 5.906 kB / 0.7846 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.01741, allocations: 4 kB / 0.7846 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01754, allocations: 51.91 kB / 0.7846 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01755, allocations: 4 kB / 0.7846 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.01765, allocations: 32.92 kB / 0.7847 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.01767, allocations: 9.062 kB / 0.7847 GB, free: 11.48 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.0001101/0.01778, allocations: 134.5 kB / 0.7848 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.01781, allocations: 32.5 kB / 0.7848 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01798, allocations: 125.4 kB / 0.785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01798, allocations: 0.6562 kB / 0.785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.01798, allocations: 4 kB / 0.785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01799, allocations: 0.7188 kB / 0.785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01814, allocations: 157.7 kB / 0.7851 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01815, allocations: 0.9375 kB / 0.7851 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.01818, allocations: 19.92 kB / 0.7851 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01819, allocations: 0.9375 kB / 0.7851 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.01819, allocations: 0 / 0.7851 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.0182, allocations: 4 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.0182, allocations: 5 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.01833, allocations: 134.4 kB / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.01836, allocations: 42.59 kB / 0.7853 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.0184, allocations: 15.92 kB / 0.7853 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.01845, allocations: 12 kB / 0.7853 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.0185, allocations: 31.83 kB / 0.7854 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01851, allocations: 4 kB / 0.7854 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001238/0.01863, allocations: 160.7 kB / 0.7855 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01863, allocations: 0 / 0.7855 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002155/0.01885, allocations: 70.69 kB / 0.7856 GB, free: 10.5 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.001113/0.01996, allocations: 0.5097 MB / 0.7861 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.02014, allocations: 113.1 kB / 0.7862 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.02014, allocations: 4.531 kB / 0.7862 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.0202, allocations: 42.42 kB / 0.7862 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.02045, allocations: 99.53 kB / 0.7863 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.02119, allocations: 0.5499 MB / 0.7869 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.631e-05/0.02126, allocations: 112.6 kB / 0.787 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.488e-05/0.02136, allocations: 47.25 kB / 0.787 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.02151, allocations: 119.3 kB / 0.7871 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.02151, allocations: 0 / 0.7871 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.007523/0.02903, allocations: 5.473 MB / 0.7925 GB, free: 3.859 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.210599219426513]