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.0009182/0.0009182, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0009711/0.0009711, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.076/1.076, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.6185/0.6185, allocations: 115 MB / 376 MB, free: 7.484 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.345e-06/2.345e-06, allocations: 0 / 428.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.835e-05, allocations: 2.312 kB / 428.7 MB, free: 2.785 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001429/0.001447, allocations: 0.7754 MB / 429.5 MB, free: 2.008 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.002846, allocations: 1.244 MB / 430.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.002901, allocations: 0 / 430.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.002932, allocations: 11.92 kB / 430.8 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.003016, allocations: 11.88 kB / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.003428, allocations: 143.5 kB / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.003572, allocations: 119.7 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.783e-05/0.00365, allocations: 11.94 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.003767, allocations: 67.92 kB / 431.1 MB, free: 400 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.003849, allocations: 35.89 kB / 431.1 MB, free: 364 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.00387, allocations: 8 kB / 431.1 MB, free: 356 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.003944, allocations: 35.97 kB / 431.2 MB, free: 320 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.003962, allocations: 8 kB / 431.2 MB, free: 312 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.004004, allocations: 39.89 kB / 431.2 MB, free: 272 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.004138, allocations: 95.75 kB / 431.3 MB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00414, allocations: 0 / 431.3 MB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004141, allocations: 3.938 kB / 431.3 MB, free: 172 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004145, allocations: 0 / 431.3 MB, free: 172 kB / 394.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.000382/0.004527, allocations: 302.5 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.004558, allocations: 8.031 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.004642, allocations: 12.92 kB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.004724, allocations: 113.8 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.004737, allocations: 12.36 kB / 431.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.004751, allocations: 8.375 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.004851, allocations: 70.86 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.004858, allocations: 192 / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.004865, allocations: 384 / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.00487, allocations: 384 / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.004897, allocations: 15.92 kB / 431.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.005157, allocations: 180.2 kB / 432 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.005213, allocations: 38.48 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.005227, allocations: 8.859 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.00524, allocations: 4 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.428e-05/0.005324, allocations: 71.52 kB / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.005325, allocations: 0 / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001216/0.005447, allocations: 69.55 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.005477, allocations: 59.39 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.005538, allocations: 114.7 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.005552, allocations: 29.7 kB / 432.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.005587, allocations: 92.08 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.005609, allocations: 19.91 kB / 432.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.005664, allocations: 37.67 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.005736, allocations: 314.8 kB / 432.9 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.005786, allocations: 49.69 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.005843, allocations: 85.09 kB / 433 MB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.006199, allocations: 85.05 kB / 433.1 MB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006202, allocations: 0 / 433.1 MB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001367/0.006338, allocations: 168.8 kB / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.006365, allocations: 37.7 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006369, allocations: 4 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.006383, allocations: 4 kB / 433.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.006449, allocations: 11.98 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.006453, allocations: 0 / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.006525, allocations: 27.92 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.00654, allocations: 7.984 kB / 433.3 MB, free: 13.92 MB / 410.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 7.066e-05/0.006611, allocations: 121.8 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.006621, allocations: 4 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.061e-05/0.006702, allocations: 66.05 kB / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.006705, allocations: 3.984 kB / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006706, allocations: 0 / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.006711, allocations: 4 kB / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.006844, allocations: 206.7 kB / 433.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006846, allocations: 0 / 433.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.006876, allocations: 11.98 kB / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006879, allocations: 3.938 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.006886, allocations: 8 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006887, allocations: 0 / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.006888, allocations: 0 / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.006962, allocations: 155.5 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.006969, allocations: 4 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.006983, allocations: 3.938 kB / 433.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.00702, allocations: 11.98 kB / 433.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.007045, allocations: 0 / 433.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.00705, allocations: 7.938 kB / 433.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.533e-05/0.007066, allocations: 12.84 kB / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007066, allocations: 0 / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007208, allocations: 24 kB / 434 MB, free: 13.22 MB / 410.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 9.589e-05/0.007304, allocations: 92.34 kB / 434.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.007443, allocations: 141.9 kB / 434.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007445, allocations: 0 / 434.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.007475, allocations: 24.84 kB / 434.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.007625, allocations: 16.67 kB / 434.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.007987, allocations: 165.1 kB / 434.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.008022, allocations: 63.34 kB / 434.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.008042, allocations: 0 / 434.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.008115, allocations: 71.36 kB / 434.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.008116, allocations: 0 / 434.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of Templates: time 0.00298/0.0111, allocations: 1.601 MB / 436.1 MB, free: 10.99 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.376910448074341]