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.0008793/0.0008793, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008971/0.0008971, allocations: 161 kB / 24.17 MB, free: 328 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.9307/0.9307, allocations: 177.1 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.934/1.934, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.643e-06/1.643e-06, allocations: 0 / 0.7751 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.322e-05, allocations: 10.25 kB / 0.7751 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002974/0.002997, allocations: 2.236 MB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.004907, allocations: 1.41 MB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.005086, allocations: 7.938 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.005479, allocations: 175.1 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.005927, allocations: 234.8 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.006283, allocations: 184.2 kB / 0.7793 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.006675, allocations: 442 kB / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.006823, allocations: 71.45 kB / 0.7798 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007703/0.007593, allocations: 319.3 kB / 0.7801 GB, free: 480 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.007783, allocations: 147.6 kB / 0.7802 GB, free: 332 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.007815, allocations: 20 kB / 0.7802 GB, free: 312 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.007952, allocations: 83.83 kB / 0.7803 GB, free: 228 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.00805, allocations: 119.6 kB / 0.7804 GB, free: 108 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.008127, allocations: 95.14 kB / 0.7805 GB, free: 16 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.008547, allocations: 326.8 kB / 0.7808 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.00855, allocations: 0 / 0.7808 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.008551, allocations: 0 / 0.7808 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.008557, allocations: 0 / 0.7808 GB, free: 15.69 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.0006603/0.009217, allocations: 0.6113 MB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.009249, allocations: 13.34 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.009309, allocations: 32.91 kB / 0.7815 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.009632, allocations: 300.9 kB / 0.7818 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.009656, allocations: 12.38 kB / 0.7818 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.009677, allocations: 13.28 kB / 0.7818 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.009902, allocations: 177.9 kB / 0.782 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.009912, allocations: 4.5 kB / 0.782 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.009925, allocations: 8.578 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.009933, allocations: 4 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.708e-05/0.00999, allocations: 38.64 kB / 0.782 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.01054, allocations: 0.4894 MB / 0.7825 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.01068, allocations: 176.2 kB / 0.7827 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.01072, allocations: 34.3 kB / 0.7827 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.01073, allocations: 1.094 kB / 0.7827 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.01085, allocations: 103.9 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.01085, allocations: 1.75 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001737/0.01102, allocations: 119.2 kB / 0.7829 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.01106, allocations: 102.8 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01133, allocations: 406 kB / 0.7834 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.01136, allocations: 34.42 kB / 0.7834 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.01143, allocations: 157.5 kB / 0.7836 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.01146, allocations: 41.31 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.01152, allocations: 73.64 kB / 0.7837 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.01162, allocations: 354.7 kB / 0.784 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.01168, allocations: 34.78 kB / 0.7841 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.01177, allocations: 169.3 kB / 0.7842 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.01188, allocations: 109.6 kB / 0.7843 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01188, allocations: 0.5312 kB / 0.7843 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001747/0.01206, allocations: 172.4 kB / 0.7845 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01207, allocations: 5.031 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01207, allocations: 3.938 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01209, allocations: 5.469 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.0122, allocations: 51.91 kB / 0.7845 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.01221, allocations: 0 / 0.7845 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.0123, allocations: 31.88 kB / 0.7846 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.01232, allocations: 9.109 kB / 0.7846 GB, free: 11.59 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.0001315/0.01245, allocations: 139.7 kB / 0.7847 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.01248, allocations: 27.97 kB / 0.7847 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.01263, allocations: 121.4 kB / 0.7849 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01263, allocations: 4 kB / 0.7849 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01263, allocations: 1.031 kB / 0.7849 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01263, allocations: 0 / 0.7849 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.01277, allocations: 158.6 kB / 0.785 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01277, allocations: 4 kB / 0.785 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.0128, allocations: 15.98 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.0128, allocations: 1.219 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.01281, allocations: 0 / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01281, allocations: 4.688 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.01281, allocations: 7.938 kB / 0.785 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01293, allocations: 139.1 kB / 0.7852 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.01297, allocations: 35.72 kB / 0.7852 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.013, allocations: 9.125 kB / 0.7852 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.01305, allocations: 15.98 kB / 0.7852 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.01309, allocations: 29.33 kB / 0.7853 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.0131, allocations: 4 kB / 0.7853 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001164/0.01322, allocations: 160.7 kB / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01322, allocations: 0 / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001907/0.01341, allocations: 69.38 kB / 0.7855 GB, free: 10.61 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.001374/0.01478, allocations: 0.516 MB / 0.786 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.015, allocations: 110.9 kB / 0.7861 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.01501, allocations: 4 kB / 0.7861 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.01507, allocations: 41.52 kB / 0.7861 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01536, allocations: 109.3 kB / 0.7862 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.01632, allocations: 0.5568 MB / 0.7868 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.994e-05/0.01639, allocations: 112.6 kB / 0.7869 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.0165, allocations: 55.23 kB / 0.787 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.01666, allocations: 115.3 kB / 0.7871 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/0.01666, allocations: 3.125 kB / 0.7871 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of Templates: time 0.007908/0.02457, allocations: 5.455 MB / 0.7924 GB, free: 3.961 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: 5.1085110660642385]