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.0009274/0.0009274, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001662/0.001662, allocations: 168.7 kB / 25.05 MB, free: 8.742 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.8888/0.8888, allocations: 177.1 MB / 205.5 MB, free: 4.453 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.955/1.955, allocations: 389.6 MB / 0.6363 GB, free: 13.34 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.683e-06/1.683e-06, allocations: 0 / 0.7761 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.835e-05, allocations: 9.906 kB / 0.7761 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003932/0.003961, allocations: 2.29 MB / 0.7784 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.005862, allocations: 1.407 MB / 0.7797 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.006003, allocations: 7.938 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.006373, allocations: 171.1 kB / 0.7799 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.00672, allocations: 222.9 kB / 0.7801 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.007022, allocations: 183.4 kB / 0.7803 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.007401, allocations: 442.5 kB / 0.7807 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.007536, allocations: 71.52 kB / 0.7808 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.008207, allocations: 312.9 kB / 0.7811 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.008386, allocations: 151.5 kB / 0.7812 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.008419, allocations: 24 kB / 0.7813 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.008562, allocations: 83.89 kB / 0.7813 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.008654, allocations: 115.5 kB / 0.7814 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.368e-05/0.008727, allocations: 91.7 kB / 0.7815 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.009092, allocations: 330.7 kB / 0.7818 GB, free: 8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.009095, allocations: 0 / 0.7818 GB, free: 8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009096, allocations: 4 kB / 0.7819 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.0091, allocations: 0 / 0.7819 GB, free: 7.996 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.0005775/0.009678, allocations: 0.6113 MB / 0.7824 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.009707, allocations: 8.031 kB / 0.7825 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.009763, allocations: 36.91 kB / 0.7825 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.01006, allocations: 295.8 kB / 0.7828 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.01007, allocations: 8.375 kB / 0.7828 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.01009, allocations: 20.36 kB / 0.7828 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.01028, allocations: 177.9 kB / 0.783 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.01029, allocations: 3.938 kB / 0.783 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.0103, allocations: 8 kB / 0.783 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.01031, allocations: 4 kB / 0.783 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.01036, allocations: 33.58 kB / 0.783 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.01085, allocations: 0.4888 MB / 0.7835 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.01099, allocations: 174.6 kB / 0.7837 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.01102, allocations: 29.7 kB / 0.7837 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.01103, allocations: 4 kB / 0.7837 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.01115, allocations: 111.9 kB / 0.7838 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.01115, allocations: 0 / 0.7838 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001682/0.01132, allocations: 115.6 kB / 0.7839 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.01136, allocations: 106.8 kB / 0.784 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.01162, allocations: 406 kB / 0.7844 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.01164, allocations: 33.7 kB / 0.7844 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.01171, allocations: 157.5 kB / 0.7846 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.01174, allocations: 39.72 kB / 0.7846 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.01181, allocations: 69.61 kB / 0.7847 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.01191, allocations: 366.7 kB / 0.785 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.01195, allocations: 26.81 kB / 0.7851 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.01204, allocations: 170.8 kB / 0.7852 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.01215, allocations: 124.2 kB / 0.7853 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.01215, allocations: 4 kB / 0.7853 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001821/0.01234, allocations: 159.1 kB / 0.7855 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01235, allocations: 8 kB / 0.7855 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01236, allocations: 7.922 kB / 0.7855 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.01237, allocations: 7.938 kB / 0.7855 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01247, allocations: 39.98 kB / 0.7856 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01248, allocations: 15.91 kB / 0.7856 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.01256, allocations: 28.14 kB / 0.7856 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.01258, allocations: 15.94 kB / 0.7856 GB, free: 3.852 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.442e-05/0.01267, allocations: 134.5 kB / 0.7857 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.0127, allocations: 28 kB / 0.7858 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.01284, allocations: 121 kB / 0.7859 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01284, allocations: 0 / 0.7859 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01285, allocations: 7.938 kB / 0.7859 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01285, allocations: 0 / 0.7859 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.01299, allocations: 161.7 kB / 0.786 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01299, allocations: 0 / 0.786 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.01301, allocations: 12 kB / 0.7861 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01302, allocations: 0 / 0.7861 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.01302, allocations: 4 kB / 0.7861 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01303, allocations: 7.984 kB / 0.7861 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01303, allocations: 3.938 kB / 0.7861 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.01316, allocations: 134.3 kB / 0.7862 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.0132, allocations: 43.66 kB / 0.7862 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.01323, allocations: 11.98 kB / 0.7863 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.01328, allocations: 15.98 kB / 0.7863 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.01332, allocations: 23.91 kB / 0.7863 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01333, allocations: 7.984 kB / 0.7863 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001144/0.01345, allocations: 152.7 kB / 0.7864 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01345, allocations: 0 / 0.7864 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001926/0.01364, allocations: 71.89 kB / 0.7865 GB, free: 2.871 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.00113/0.01477, allocations: 0.5097 MB / 0.787 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01494, allocations: 112.4 kB / 0.7871 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01495, allocations: 8 kB / 0.7871 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.015, allocations: 44.77 kB / 0.7872 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01524, allocations: 109.9 kB / 0.7873 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.01595, allocations: 0.5461 MB / 0.7878 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.01601, allocations: 116.7 kB / 0.7879 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.175e-05/0.0161, allocations: 42.94 kB / 0.788 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.01624, allocations: 123.3 kB / 0.7881 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01624, allocations: 0 / 0.7881 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of Templates: time 0.007586/0.02383, allocations: 5.457 MB / 0.7934 GB, free: 12.05 MB / 0.7605 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.113815630786121]