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.001078/0.001078, 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.001281/0.001281, allocations: 169 kB / 24.14 MB, free: 360 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 0.9459/0.9459, allocations: 177.1 MB / 204.6 MB, free: 5.508 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.6701/0.6701, allocations: 115 MB / 376 MB, free: 7.477 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.924e-06/1.924e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.346e-05, allocations: 2.312 kB / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001672/0.001696, allocations: 0.7245 MB / 429.4 MB, free: 2.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.003146, allocations: 1.24 MB / 430.7 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.003193, allocations: 0 / 430.7 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.003221, allocations: 3.938 kB / 430.7 MB, free: 0.832 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.003297, allocations: 15.86 kB / 430.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.003751, allocations: 147.5 kB / 430.8 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.003917, allocations: 115.8 kB / 430.9 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.003999, allocations: 11.94 kB / 430.9 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.00412, allocations: 67.88 kB / 431 MB, free: 492 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.004208, allocations: 35.94 kB / 431 MB, free: 456 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.004234, allocations: 12 kB / 431.1 MB, free: 444 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.417e-05/0.004308, allocations: 27.92 kB / 431.1 MB, free: 416 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.004331, allocations: 11.98 kB / 431.1 MB, free: 404 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.004377, allocations: 27.97 kB / 431.1 MB, free: 376 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.004536, allocations: 107.7 kB / 431.2 MB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004538, allocations: 4 kB / 431.2 MB, free: 264 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004539, allocations: 0 / 431.2 MB, free: 264 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.004542, allocations: 0 / 431.2 MB, free: 264 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.0004194/0.004961, allocations: 302.5 kB / 431.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.004994, allocations: 8.031 kB / 431.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.005089, allocations: 12.92 kB / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.005176, allocations: 117.7 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.005191, allocations: 12.31 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.005213, allocations: 8.375 kB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.005332, allocations: 66.92 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00534, allocations: 4.188 kB / 431.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005348, allocations: 384 / 431.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005353, allocations: 384 / 431.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.005384, allocations: 15.92 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.005678, allocations: 184.1 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.005744, allocations: 26.56 kB / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.005761, allocations: 8.859 kB / 432 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.005776, allocations: 4 kB / 432 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.046e-05/0.005866, allocations: 67.53 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.005867, allocations: 4 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001438/0.006011, allocations: 73.53 kB / 432.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.006047, allocations: 55.41 kB / 432.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.006117, allocations: 114.7 kB / 432.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.006136, allocations: 29.7 kB / 432.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.006188, allocations: 96.06 kB / 432.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.00621, allocations: 19.89 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.006268, allocations: 29.7 kB / 432.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.006359, allocations: 318.8 kB / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.006421, allocations: 49.69 kB / 432.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.006495, allocations: 88.98 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.968e-05/0.006594, allocations: 97.03 kB / 433 MB, free: 14.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006597, allocations: 0 / 433 MB, free: 14.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001765/0.006773, allocations: 157 kB / 433.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.006806, allocations: 41.62 kB / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.00681, allocations: 0 / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.006823, allocations: 4 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.006889, allocations: 8 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006895, allocations: 7.984 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.006997, allocations: 31.92 kB / 433.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.007012, allocations: 4 kB / 433.3 MB, free: 14 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.471e-05/0.007086, allocations: 125.8 kB / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.007103, allocations: 4 kB / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/0.007184, allocations: 66.03 kB / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.007186, allocations: 0 / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007187, allocations: 0 / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.00719, allocations: 0 / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.007317, allocations: 214.7 kB / 433.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007318, allocations: 0 / 433.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.007345, allocations: 8 kB / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007347, allocations: 3.938 kB / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007353, allocations: 4 kB / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007355, allocations: 0 / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007356, allocations: 0 / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.853e-05/0.007434, allocations: 155.5 kB / 433.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.00744, allocations: 3.984 kB / 433.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.007453, allocations: 7.938 kB / 433.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.007485, allocations: 4 kB / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.00751, allocations: 15.98 kB / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.007513, allocations: 0 / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.007528, allocations: 16.84 kB / 433.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007528, allocations: 0 / 433.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.007663, allocations: 24 kB / 433.9 MB, free: 13.3 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 8.983e-05/0.007753, allocations: 80.36 kB / 434 MB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.007885, allocations: 154 kB / 434.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.007887, allocations: 0 / 434.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.007914, allocations: 24.92 kB / 434.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.008065, allocations: 16.73 kB / 434.2 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.008455, allocations: 160.3 kB / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.00849, allocations: 55.36 kB / 434.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.491e-05/0.008515, allocations: 7.984 kB / 434.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.0086, allocations: 75.36 kB / 434.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008601, allocations: 0 / 434.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of Templates: time 0.00347/0.01207, allocations: 1.592 MB / 436.1 MB, free: 11.08 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.535758811980486]