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.001509/0.001509, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001126/0.001126, allocations: 173.3 kB / 24.84 MB, free: 9.246 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.6615/0.6615, allocations: 115 MB / 376.8 MB, free: 7.496 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.843e-06/1.843e-06, allocations: 0 / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.161e-05, allocations: 5.812 kB / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001315/0.001337, allocations: 0.7166 MB / 483.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002432, allocations: 1.239 MB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.002481, allocations: 1.469 kB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.002506, allocations: 3.938 kB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.002575, allocations: 17.98 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.002948, allocations: 143.2 kB / 484.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003092, allocations: 117.5 kB / 485 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.003171, allocations: 9.781 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.003273, allocations: 65.27 kB / 485 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.003348, allocations: 41.88 kB / 485.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.00337, allocations: 11.03 kB / 485.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-05/0.003431, allocations: 25.94 kB / 485.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.003453, allocations: 12.84 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.003493, allocations: 35.05 kB / 485.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003626, allocations: 107.9 kB / 485.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003628, allocations: 0 / 485.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.003629, allocations: 0 / 485.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.003633, allocations: 0 / 485.3 MB, free: 10.2 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.0003658/0.003999, allocations: 426.5 kB / 485.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.004034, allocations: 9.312 kB / 485.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.004123, allocations: 20.8 kB / 485.7 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.97e-05/0.004183, allocations: 116.1 kB / 485.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.004196, allocations: 5 kB / 485.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.004211, allocations: 7.094 kB / 485.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.00431, allocations: 69.62 kB / 485.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004318, allocations: 1.25 kB / 485.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.004325, allocations: 1.594 kB / 485.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.00433, allocations: 384 / 485.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.004355, allocations: 18.11 kB / 485.9 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.004627, allocations: 284 kB / 486.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.055e-05/0.004688, allocations: 39.92 kB / 486.2 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.004705, allocations: 16.11 kB / 486.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.004718, allocations: 1.094 kB / 486.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.154e-05/0.004799, allocations: 73.52 kB / 486.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.0048, allocations: 2.281 kB / 486.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001687/0.004969, allocations: 89.91 kB / 486.4 MB, free: 9.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.004992, allocations: 56.5 kB / 486.5 MB, free: 9.094 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.005044, allocations: 178.5 kB / 486.7 MB, free: 8.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.005058, allocations: 31.08 kB / 486.7 MB, free: 8.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.005265, allocations: 146.3 kB / 486.8 MB, free: 24.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.005281, allocations: 17.77 kB / 486.8 MB, free: 24.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.00533, allocations: 41.25 kB / 486.9 MB, free: 24.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.005442, allocations: 497.8 kB / 487.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.005497, allocations: 56.36 kB / 487.4 MB, free: 24.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.005552, allocations: 90.88 kB / 487.5 MB, free: 24.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.005635, allocations: 107.2 kB / 487.6 MB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005637, allocations: 0 / 487.6 MB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001761/0.005813, allocations: 196.7 kB / 487.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.005838, allocations: 42.78 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.005843, allocations: 2.125 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.005853, allocations: 1.406 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.005915, allocations: 11.91 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.005918, allocations: 1.594 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.005999, allocations: 27.31 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.006012, allocations: 5.344 kB / 487.9 MB, free: 23.83 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 7.135e-05/0.006084, allocations: 172 kB / 488.1 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.006097, allocations: 11.95 kB / 488.1 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.006201, allocations: 76.12 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.006204, allocations: 1.375 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.006206, allocations: 5.688 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.006209, allocations: 0 / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.006368, allocations: 303.4 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006369, allocations: 0.9062 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.006401, allocations: 9.5 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.006402, allocations: 5.469 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006408, allocations: 1.219 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00641, allocations: 1.375 kB / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00641, allocations: 0 / 488.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.006522, allocations: 224.9 kB / 488.7 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.006529, allocations: 7.438 kB / 488.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.006541, allocations: 4.234 kB / 488.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.006579, allocations: 1.719 kB / 488.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.006605, allocations: 14.95 kB / 488.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.00661, allocations: 0.5 kB / 488.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.006652, allocations: 138.5 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006652, allocations: 0.8125 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.006824, allocations: 22.11 kB / 488.9 MB, free: 22.98 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 9.831e-05/0.006923, allocations: 104.7 kB / 489 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.007065, allocations: 155.2 kB / 489.1 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007066, allocations: 0.5625 kB / 489.1 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.007096, allocations: 23.88 kB / 489.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.007284, allocations: 18.44 kB / 489.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.007648, allocations: 170.3 kB / 489.3 MB, free: 22.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.007674, allocations: 57.14 kB / 489.4 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.007698, allocations: 6.859 kB / 489.4 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.007781, allocations: 91 kB / 489.5 MB, free: 22.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.11e-07/0.007782, allocations: 0 / 489.5 MB, free: 22.47 MB / 426.7 MB Notification: Performance of Templates: time 0.003335/0.01112, allocations: 1.693 MB / 491.2 MB, free: 22.32 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.5013268450275064]