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.0007171/0.0007171, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001747, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0007608/0.0007608, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008846/0.001645, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9328/0.9328, allocations: 177.1 MB / 189.6 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.173/1.106, allocations: 53.65 MB / 243.2 MB, free: 2.336 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 119.1 MB / 363.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06788/0.7413, allocations: 37.86 MB / 400.9 MB, free: 15.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.844e-06/1.844e-06, allocations: 0 / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.875e-05, allocations: 2.312 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001281/0.0013, allocations: 0.7673 MB / 403 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.002461, allocations: 1.236 MB / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.002508, allocations: 4 kB / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.002535, allocations: 3.938 kB / 404.2 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.002579, allocations: 15.86 kB / 404.2 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.002944, allocations: 143.5 kB / 404.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.003097, allocations: 115.8 kB / 404.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.003172, allocations: 7.984 kB / 404.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.003282, allocations: 75.88 kB / 404.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.003357, allocations: 31.94 kB / 404.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.00338, allocations: 12 kB / 404.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.003463, allocations: 31.92 kB / 404.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.003489, allocations: 11.94 kB / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.003528, allocations: 24 kB / 404.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.00368, allocations: 79.75 kB / 404.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.003696, allocations: 3.984 kB / 404.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003697, allocations: 0 / 404.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.003713, allocations: 0 / 404.8 MB, free: 11.43 MB / 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.0004776/0.004191, allocations: 310.1 kB / 405.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.004223, allocations: 15.89 kB / 405.1 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.004345, allocations: 93.97 kB / 405.2 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.004426, allocations: 117.7 kB / 405.3 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.004442, allocations: 4.375 kB / 405.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.004457, allocations: 16.31 kB / 405.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.004569, allocations: 62.94 kB / 405.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004577, allocations: 192 / 405.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004584, allocations: 8.297 kB / 405.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00459, allocations: 4.375 kB / 405.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.004616, allocations: 7.938 kB / 405.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.004899, allocations: 180.2 kB / 405.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.00497, allocations: 30.56 kB / 405.6 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.004986, allocations: 16.8 kB / 405.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.005006, allocations: 96 / 405.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.005109, allocations: 75.38 kB / 405.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.00511, allocations: 0 / 405.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001502/0.005261, allocations: 73.59 kB / 405.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.005302, allocations: 59.34 kB / 405.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.005372, allocations: 114.7 kB / 405.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.00539, allocations: 29.7 kB / 405.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.005433, allocations: 92.14 kB / 406 MB, free: 9.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.005452, allocations: 19.83 kB / 406.1 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.005493, allocations: 29.7 kB / 406.1 MB, free: 9.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003511/0.005844, allocations: 322.8 kB / 406.4 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.552e-05/0.0059, allocations: 57.67 kB / 406.5 MB, free: 9.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.005954, allocations: 81.11 kB / 406.5 MB, free: 9.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.006025, allocations: 93.03 kB / 406.6 MB, free: 9.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.006028, allocations: 4 kB / 406.6 MB, free: 9.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001272/0.006155, allocations: 160.9 kB / 406.8 MB, free: 9.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.006192, allocations: 45.62 kB / 406.8 MB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006196, allocations: 0 / 406.8 MB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.006206, allocations: 4.062 kB / 406.8 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.006279, allocations: 12 kB / 406.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006282, allocations: 0 / 406.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.006358, allocations: 23.97 kB / 406.9 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.006369, allocations: 4 kB / 406.9 MB, free: 9.059 MB / 394.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 6.362e-05/0.006433, allocations: 117.8 kB / 407 MB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.006443, allocations: 11.92 kB / 407 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-05/0.006531, allocations: 73.97 kB / 407.1 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006533, allocations: 4 kB / 407.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006535, allocations: 0 / 407.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006538, allocations: 0 / 407.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.006677, allocations: 210.8 kB / 407.3 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.006679, allocations: 4 kB / 407.3 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.006715, allocations: 11.94 kB / 407.3 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.006723, allocations: 7.891 kB / 407.3 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.006724, allocations: 0 / 407.3 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006731, allocations: 4 kB / 407.3 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.006734, allocations: 3.984 kB / 407.3 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006735, allocations: 0 / 407.3 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.457e-05/0.00681, allocations: 147.5 kB / 407.5 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.006827, allocations: 15.92 kB / 407.5 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.006863, allocations: 0 / 407.5 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.006889, allocations: 7.984 kB / 407.5 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006893, allocations: 0 / 407.5 MB, free: 8.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.657e-05/0.00691, allocations: 28.77 kB / 407.5 MB, free: 8.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00691, allocations: 0 / 407.5 MB, free: 8.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.007058, allocations: 20 kB / 407.5 MB, free: 8.34 MB / 394.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.0001004/0.007158, allocations: 76.42 kB / 407.6 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.007305, allocations: 157.9 kB / 407.8 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.00731, allocations: 0 / 407.8 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.007336, allocations: 16.86 kB / 407.8 MB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.007481, allocations: 19.98 kB / 407.8 MB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.008113, allocations: 161 kB / 408 MB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.008145, allocations: 67.47 kB / 408 MB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.008168, allocations: 0 / 408 MB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.008241, allocations: 75.23 kB / 408.1 MB, free: 7.699 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.008242, allocations: 0 / 408.1 MB, free: 7.699 MB / 394.7 MB Notification: Performance of Templates: time 0.00308/0.01132, allocations: 1.661 MB / 409.8 MB, free: 6.078 MB / 394.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.2282566903159022]