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.001863/0.001863, allocations: 97.47 kB / 20.21 MB, free: 4.207 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.001953/0.001953, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.625 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 1.045/1.045, allocations: 115 MB / 375.3 MB, free: 7.605 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 1.963e-06/1.963e-06, allocations: 0 / 480.8 MB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.008e-05, allocations: 5.672 kB / 480.8 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001604/0.001634, allocations: 0.7104 MB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.002964, allocations: 1.221 MB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.00301, allocations: 3 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.003032, allocations: 4.75 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.003102, allocations: 11.86 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.003537, allocations: 139.9 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.003683, allocations: 120.9 kB / 483 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.00376, allocations: 10.69 kB / 483 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003868, allocations: 64.56 kB / 483 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.003948, allocations: 39.78 kB / 483.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.003977, allocations: 11.56 kB / 483.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.004046, allocations: 32.22 kB / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.004064, allocations: 4 kB / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.004117, allocations: 40.69 kB / 483.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004299, allocations: 130.7 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.004302, allocations: 1.219 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004303, allocations: 0.75 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004307, allocations: 0 / 483.3 MB, free: 10.43 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.0004771/0.004784, allocations: 439.3 kB / 483.7 MB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.004821, allocations: 8.312 kB / 483.7 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.004944, allocations: 14.3 kB / 483.7 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.005015, allocations: 115.6 kB / 483.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.00503, allocations: 4.688 kB / 483.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.005053, allocations: 11.78 kB / 483.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.005205, allocations: 57.64 kB / 483.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005215, allocations: 3.328 kB / 483.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.005233, allocations: 5.562 kB / 483.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005237, allocations: 1.469 kB / 483.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.005364, allocations: 36.92 kB / 484 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.005765, allocations: 314.2 kB / 484.3 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.005889, allocations: 53.58 kB / 484.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.005953, allocations: 25.5 kB / 484.4 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.005974, allocations: 1 kB / 484.4 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.006122, allocations: 93.06 kB / 484.5 MB, free: 9.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.006123, allocations: 0.6875 kB / 484.5 MB, free: 9.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003412/0.006465, allocations: 129.1 kB / 484.6 MB, free: 9.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.006487, allocations: 59.98 kB / 484.6 MB, free: 9.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.006561, allocations: 179.3 kB / 484.8 MB, free: 9.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.006578, allocations: 29.3 kB / 484.8 MB, free: 9.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.006818, allocations: 141.8 kB / 485 MB, free: 24.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.006836, allocations: 19.38 kB / 485 MB, free: 24.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.006902, allocations: 48.3 kB / 485 MB, free: 24.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.007161, allocations: 0.4913 MB / 485.5 MB, free: 24.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.007298, allocations: 82.23 kB / 485.6 MB, free: 24.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.007436, allocations: 121.3 kB / 485.7 MB, free: 24.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.007617, allocations: 140.9 kB / 485.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007619, allocations: 0 / 485.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003657/0.007984, allocations: 238.9 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.008013, allocations: 37.08 kB / 486.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008018, allocations: 1.344 kB / 486.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.008034, allocations: 5.109 kB / 486.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.008124, allocations: 13.47 kB / 486.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.00813, allocations: 2.375 kB / 486.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.008285, allocations: 22.03 kB / 486.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.008306, allocations: 8.469 kB / 486.2 MB, free: 23.95 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 0.0001168/0.008423, allocations: 170.7 kB / 486.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.008442, allocations: 12.89 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.008662, allocations: 109.4 kB / 486.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.008665, allocations: 1.094 kB / 486.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.008668, allocations: 1 kB / 486.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008671, allocations: 1.188 kB / 486.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.009045, allocations: 347.2 kB / 486.8 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009047, allocations: 0 / 486.8 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.009091, allocations: 7.281 kB / 486.8 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.009093, allocations: 3.938 kB / 486.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.009102, allocations: 4.734 kB / 486.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009104, allocations: 6.594 kB / 486.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009105, allocations: 0 / 486.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.009381, allocations: 252.5 kB / 487.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.00939, allocations: 7.875 kB / 487.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.009408, allocations: 3 kB / 487.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.009477, allocations: 2.75 kB / 487.1 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.009517, allocations: 11.94 kB / 487.1 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.009525, allocations: 1.531 kB / 487.1 MB, free: 23.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.009609, allocations: 138.5 kB / 487.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009609, allocations: 1.188 kB / 487.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.009859, allocations: 23.42 kB / 487.3 MB, free: 23.04 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.0001593/0.01002, allocations: 108.3 kB / 487.4 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.01035, allocations: 204.7 kB / 487.6 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01036, allocations: 9.188 kB / 487.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.01044, allocations: 35.33 kB / 487.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01071, allocations: 22.55 kB / 487.6 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.01103, allocations: 156.6 kB / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/0.01109, allocations: 71.5 kB / 487.9 MB, free: 22.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.01112, allocations: 5.531 kB / 487.9 MB, free: 22.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.01114, allocations: 12.12 kB / 487.9 MB, free: 22.58 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01115, allocations: 0 / 487.9 MB, free: 22.58 MB / 426.7 MB Notification: Performance of Templates: time 0.004525/0.01567, allocations: 1.529 MB / 489.4 MB, free: 22.45 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: 5.627920325961895]