Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.002066/0.002066, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001824/0.001824, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9296/0.9296, allocations: 115 MB / 375.3 MB, free: 7.551 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.871e-05, allocations: 12.25 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001851/0.00188, allocations: 0.7596 MB / 481.6 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.003657, allocations: 1.367 MB / 482.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.003743, allocations: 1.469 kB / 482.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.003791, allocations: 11.02 kB / 482.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.003887, allocations: 30.94 kB / 483 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.004549, allocations: 290.2 kB / 483.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.00491, allocations: 384.6 kB / 483.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005024, allocations: 25.69 kB / 483.7 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.005328, allocations: 218.8 kB / 483.9 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.005557, allocations: 124.7 kB / 484 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.005645, allocations: 37.69 kB / 484 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.005778, allocations: 50.64 kB / 484.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.005834, allocations: 69.92 kB / 484.1 MB, free: 9.902 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.00598, allocations: 123.1 kB / 484.3 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.006361, allocations: 399 kB / 484.7 MB, free: 9.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006364, allocations: 1.188 kB / 484.7 MB, free: 9.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.006365, allocations: 0 / 484.7 MB, free: 9.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.006374, allocations: 0 / 484.7 MB, free: 9.691 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001003/0.007377, allocations: 0.5335 MB / 485.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.007412, allocations: 12.8 kB / 485.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.007558, allocations: 57.12 kB / 485.3 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.008237, allocations: 234.1 kB / 485.5 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.008277, allocations: 22 kB / 485.5 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.008349, allocations: 49.55 kB / 485.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.00874, allocations: 253.3 kB / 485.8 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.008749, allocations: 192 / 485.8 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.008782, allocations: 15.12 kB / 485.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.008789, allocations: 7.25 kB / 485.8 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.009002, allocations: 126.1 kB / 486 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.009789, allocations: 480.4 kB / 486.4 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.01026, allocations: 251 kB / 486.7 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.01046, allocations: 134.1 kB / 486.8 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.01048, allocations: 5.469 kB / 486.8 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.01102, allocations: 359 kB / 487.2 MB, free: 8.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.943e-06/0.01102, allocations: 3.938 kB / 487.2 MB, free: 8.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001047/0.01207, allocations: 0.693 MB / 487.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.0121, allocations: 64.28 kB / 487.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.0122, allocations: 160.2 kB / 488.1 MB, free: 7.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.01225, allocations: 49.48 kB / 488.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.01231, allocations: 104.2 kB / 488.2 MB, free: 7.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.01237, allocations: 112.6 kB / 488.3 MB, free: 7.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.01254, allocations: 121.3 kB / 488.4 MB, free: 7.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.01274, allocations: 338.4 kB / 488.8 MB, free: 23.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.01301, allocations: 202.7 kB / 489 MB, free: 23.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.01334, allocations: 359.6 kB / 489.3 MB, free: 22.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.01382, allocations: 461.2 kB / 489.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01382, allocations: 2.312 kB / 489.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001025/0.01485, allocations: 0.6607 MB / 490.4 MB, free: 22.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.0149, allocations: 65.12 kB / 490.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.01491, allocations: 8.578 kB / 490.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.01494, allocations: 9.156 kB / 490.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.0151, allocations: 45.62 kB / 490.6 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.01511, allocations: 11.56 kB / 490.6 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.01558, allocations: 90.77 kB / 490.7 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.01563, allocations: 29.91 kB / 490.7 MB, free: 22.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0001877/0.01581, allocations: 191.2 kB / 490.9 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.01589, allocations: 58.88 kB / 490.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.01595, allocations: 26.78 kB / 491 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.01596, allocations: 7.859 kB / 491 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.01597, allocations: 0 / 491 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01598, allocations: 0 / 491 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.01738, allocations: 0.9086 MB / 491.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01738, allocations: 3.938 kB / 491.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.01745, allocations: 17.69 kB / 491.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01746, allocations: 1.25 kB / 491.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.01749, allocations: 17.12 kB / 491.9 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01749, allocations: 10.53 kB / 491.9 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01749, allocations: 0 / 491.9 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.0183, allocations: 0.6711 MB / 492.6 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.01832, allocations: 23.05 kB / 492.6 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.01839, allocations: 24 kB / 492.6 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.01859, allocations: 35 kB / 492.7 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.01869, allocations: 47.12 kB / 492.7 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.01873, allocations: 32.3 kB / 492.8 MB, free: 21.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.01882, allocations: 102.1 kB / 492.9 MB, free: 21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01882, allocations: 1.125 kB / 492.9 MB, free: 21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004645/0.01928, allocations: 101 kB / 493 MB, free: 20.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002598/0.01954, allocations: 141 kB / 493.1 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008415/0.02038, allocations: 0.569 MB / 493.7 MB, free: 20.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02039, allocations: 1 kB / 493.7 MB, free: 20.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.02069, allocations: 189.9 kB / 493.9 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.02106, allocations: 56.88 kB / 493.9 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.02195, allocations: 460.4 kB / 494.4 MB, free: 20.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.02205, allocations: 120.6 kB / 494.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.916e-05/0.02215, allocations: 35 kB / 494.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.02223, allocations: 36.41 kB / 494.5 MB, free: 20.13 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02223, allocations: 0 / 494.5 MB, free: 20.13 MB / 426.7 MB Notification: Performance of Templates: time 0.0101/0.03233, allocations: 4.605 MB / 499.1 MB, free: 19.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8399332710541785]