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.001088/0.001088, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002767, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001269/0.001269, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002816, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9478/0.9478, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08838/1.036, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.885/1.885, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5152/2.4, allocations: 127.1 MB / 0.7432 GB, free: 4.637 MB / 0.7136 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.453e-06/1.453e-06, allocations: 0.6562 kB / 0.7445 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.641e-05, allocations: 10.25 kB / 0.7445 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003569/0.003595, allocations: 2.289 MB / 0.7467 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.006118, allocations: 1.429 MB / 0.7481 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.006299, allocations: 7.938 kB / 0.7481 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.006672, allocations: 169.3 kB / 0.7483 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.007114, allocations: 230.6 kB / 0.7485 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.007471, allocations: 187.4 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.007923, allocations: 430.7 kB / 0.7491 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.008093, allocations: 63.52 kB / 0.7491 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/0.008866, allocations: 374.5 kB / 0.7495 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.009032, allocations: 147.6 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.009064, allocations: 25.47 kB / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.009206, allocations: 79.83 kB / 0.7497 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.009295, allocations: 99.7 kB / 0.7498 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.009368, allocations: 71.75 kB / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.009716, allocations: 305.5 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.009732, allocations: 0 / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.303e-06/0.009733, allocations: 0 / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.009746, allocations: 0 / 0.7502 GB, free: 13.57 MB / 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.000741/0.01049, allocations: 0.6812 MB / 0.7508 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01052, allocations: 14.47 kB / 0.7509 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.01058, allocations: 40.89 kB / 0.7509 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.0109, allocations: 299.8 kB / 0.7512 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.01092, allocations: 12.38 kB / 0.7512 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.01094, allocations: 12.38 kB / 0.7512 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.01116, allocations: 182.9 kB / 0.7514 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01117, allocations: 3.938 kB / 0.7514 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.01119, allocations: 7.984 kB / 0.7514 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.01119, allocations: 6.688 kB / 0.7514 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.01125, allocations: 45.56 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.01184, allocations: 492.7 kB / 0.7519 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.012, allocations: 181.4 kB / 0.7521 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.01204, allocations: 21.72 kB / 0.7521 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01205, allocations: 3.984 kB / 0.7521 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.01218, allocations: 107.8 kB / 0.7522 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.01219, allocations: 0 / 0.7522 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001666/0.01235, allocations: 117.5 kB / 0.7523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.01239, allocations: 81.11 kB / 0.7524 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.01265, allocations: 409.9 kB / 0.7528 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.01267, allocations: 33.7 kB / 0.7528 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.01275, allocations: 153.5 kB / 0.753 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.01278, allocations: 40.34 kB / 0.753 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.01285, allocations: 77.62 kB / 0.7531 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.01294, allocations: 351.4 kB / 0.7534 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.01298, allocations: 34.67 kB / 0.7535 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.01307, allocations: 159.8 kB / 0.7536 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.01317, allocations: 117.7 kB / 0.7537 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01318, allocations: 3.938 kB / 0.7537 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000175/0.01335, allocations: 170.3 kB / 0.7539 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.01337, allocations: 6.344 kB / 0.7539 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01338, allocations: 8.844 kB / 0.7539 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01339, allocations: 0 / 0.7539 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01352, allocations: 59.91 kB / 0.754 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01353, allocations: 4.641 kB / 0.754 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.01362, allocations: 33.12 kB / 0.754 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01364, allocations: 7.984 kB / 0.754 GB, free: 9.398 MB / 0.7292 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.0001186/0.01376, allocations: 135.8 kB / 0.7541 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01379, allocations: 28.66 kB / 0.7542 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.01393, allocations: 120.9 kB / 0.7543 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01394, allocations: 5.438 kB / 0.7543 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.01394, allocations: 4 kB / 0.7543 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01394, allocations: 0 / 0.7543 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.01408, allocations: 158.4 kB / 0.7544 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01408, allocations: 4 kB / 0.7544 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.01411, allocations: 16.42 kB / 0.7545 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.01415, allocations: 39.66 kB / 0.7545 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01415, allocations: 5.719 kB / 0.7545 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01416, allocations: 7.984 kB / 0.7545 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01416, allocations: 3.938 kB / 0.7545 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01416, allocations: 4 kB / 0.7545 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.01431, allocations: 135.2 kB / 0.7546 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.01434, allocations: 8 kB / 0.7546 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.01439, allocations: 16.73 kB / 0.7547 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.01444, allocations: 29.17 kB / 0.7547 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01445, allocations: 4 kB / 0.7547 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001149/0.01456, allocations: 164.7 kB / 0.7549 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01456, allocations: 0 / 0.7549 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001724/0.01473, allocations: 68.81 kB / 0.7549 GB, free: 8.414 MB / 0.7292 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.001296/0.01603, allocations: 0.5616 MB / 0.7555 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.01619, allocations: 105.7 kB / 0.7556 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.0162, allocations: 4 kB / 0.7556 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.01624, allocations: 45.28 kB / 0.7556 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.01656, allocations: 119 kB / 0.7557 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.01794, allocations: 0.565 MB / 0.7563 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.018, allocations: 108.6 kB / 0.7564 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.01809, allocations: 46.94 kB / 0.7564 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.01824, allocations: 127.2 kB / 0.7565 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/0.01824, allocations: 0.625 kB / 0.7566 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.007904/0.02614, allocations: 5.598 MB / 0.762 GB, free: 1.621 MB / 0.7292 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.89429094735533]