Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0011/0.0011, allocations: 88.22 kB / 20.42 MB, free: 4.137 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.001284/0.001284, allocations: 169 kB / 23.8 MB, free: 0.7656 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.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.6481/0.6481, allocations: 115 MB / 375.7 MB, free: 7.609 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.932e-05, allocations: 5.938 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001584/0.001614, allocations: 0.7201 MB / 482.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.002883, allocations: 1.245 MB / 483.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.002936, allocations: 0 / 483.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.002967, allocations: 7.266 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.00304, allocations: 14.22 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.003508, allocations: 143.2 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.003657, allocations: 121 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.003755, allocations: 11.86 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003863, allocations: 69 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.003944, allocations: 33.34 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.00397, allocations: 12.44 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.004038, allocations: 25.94 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.004059, allocations: 10.19 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.004108, allocations: 31.3 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004275, allocations: 112.9 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004277, allocations: 0 / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004278, allocations: 0 / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.004282, allocations: 0 / 484 MB, free: 10.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004124/0.004695, allocations: 430.1 kB / 484.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.004736, allocations: 10.31 kB / 484.5 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.004845, allocations: 17.02 kB / 484.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.788e-05/0.004913, allocations: 112.4 kB / 484.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.004928, allocations: 3.781 kB / 484.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.004948, allocations: 11.31 kB / 484.6 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.005074, allocations: 71.28 kB / 484.7 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.005082, allocations: 192 / 484.7 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005093, allocations: 1.406 kB / 484.7 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.0051, allocations: 1.062 kB / 484.7 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.005136, allocations: 13.88 kB / 484.7 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.005483, allocations: 311.7 kB / 485 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.005558, allocations: 42 kB / 485 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.005583, allocations: 19.69 kB / 485 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.005602, allocations: 2 kB / 485 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.092e-05/0.005693, allocations: 74.95 kB / 485.1 MB, free: 9.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.005695, allocations: 1.281 kB / 485.1 MB, free: 9.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001991/0.005894, allocations: 97.53 kB / 485.2 MB, free: 9.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.005918, allocations: 56.84 kB / 485.3 MB, free: 9.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.006163, allocations: 177.2 kB / 485.4 MB, free: 24.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.006179, allocations: 27.92 kB / 485.5 MB, free: 24.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.006228, allocations: 145.5 kB / 485.6 MB, free: 24.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.006244, allocations: 15.62 kB / 485.6 MB, free: 24.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.006293, allocations: 37.09 kB / 485.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.006396, allocations: 0.4918 MB / 486.2 MB, free: 24.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.006469, allocations: 57.75 kB / 486.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.00654, allocations: 99.83 kB / 486.3 MB, free: 24.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.006627, allocations: 107.3 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.006629, allocations: 1.062 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002054/0.006835, allocations: 206.4 kB / 486.6 MB, free: 23.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.00686, allocations: 32.67 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.006866, allocations: 2.906 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.006882, allocations: 0.875 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.006964, allocations: 20.09 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006969, allocations: 1.812 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.007076, allocations: 24.11 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.007097, allocations: 6.219 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.528e-05/0.007192, allocations: 170.2 kB / 486.9 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.007213, allocations: 12.73 kB / 486.9 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.007395, allocations: 86.41 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007399, allocations: 2.688 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007403, allocations: 3.422 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.007407, allocations: 0 / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.007602, allocations: 326.5 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007604, allocations: 5 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.00765, allocations: 9.516 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007652, allocations: 0 / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.00766, allocations: 2.062 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.007663, allocations: 1.219 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007664, allocations: 1.719 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.007792, allocations: 236.3 kB / 487.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.0078, allocations: 2.469 kB / 487.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.007818, allocations: 1.219 kB / 487.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.007858, allocations: 2.25 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.007896, allocations: 6.969 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.007903, allocations: 13.91 kB / 487.6 MB, free: 23.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.007949, allocations: 125.1 kB / 487.7 MB, free: 23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.007949, allocations: 0.9062 kB / 487.7 MB, free: 23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.00814, allocations: 31.47 kB / 487.7 MB, free: 23 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001211/0.008261, allocations: 100 kB / 487.8 MB, free: 22.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.008449, allocations: 163.4 kB / 488 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008451, allocations: 0 / 488 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.008486, allocations: 21.95 kB / 488 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.008697, allocations: 24.89 kB / 488 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.009175, allocations: 162.9 kB / 488.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.009208, allocations: 60.86 kB / 488.2 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.773e-05/0.009236, allocations: 7.125 kB / 488.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.009263, allocations: 11.91 kB / 488.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.009264, allocations: 0 / 488.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of Templates: time 0.003525/0.01279, allocations: 1.525 MB / 489.8 MB, free: 22.43 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7039200542494655]