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.001103/0.001103, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.001635/0.001635, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9115/0.9115, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.6105/0.6105, allocations: 115 MB / 375.7 MB, free: 7.656 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 3.467e-06/3.467e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/3.079e-05, allocations: 10.23 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001896/0.001927, allocations: 0.7264 MB / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.003646, allocations: 1.246 MB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.003709, allocations: 2.25 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.00375, allocations: 7.125 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.003841, allocations: 11.91 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.004445, allocations: 143.2 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.004648, allocations: 116.5 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.00476, allocations: 11.16 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.00491, allocations: 63.5 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005024, allocations: 37.75 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.00506, allocations: 10.47 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.005152, allocations: 29.42 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.005181, allocations: 11.58 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.005248, allocations: 34.39 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.005451, allocations: 106.6 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005455, allocations: 0.7812 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.005456, allocations: 0 / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.005462, allocations: 2.688 kB / 484 MB, free: 10.3 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.0005675/0.00603, allocations: 428.1 kB / 484.4 MB, free: 9.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.006076, allocations: 9.531 kB / 484.5 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.006226, allocations: 17.45 kB / 484.5 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.006316, allocations: 119.6 kB / 484.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.006337, allocations: 3.719 kB / 484.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.00636, allocations: 7.406 kB / 484.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.006523, allocations: 66.72 kB / 484.7 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006533, allocations: 1.438 kB / 484.7 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.006545, allocations: 1.469 kB / 484.7 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.006555, allocations: 1.375 kB / 484.7 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.006605, allocations: 15 kB / 484.7 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.007039, allocations: 311.2 kB / 485 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.007133, allocations: 40.88 kB / 485 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.007162, allocations: 13.28 kB / 485 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.007181, allocations: 1.312 kB / 485 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.007291, allocations: 90 kB / 485.1 MB, free: 9.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.007293, allocations: 1.031 kB / 485.1 MB, free: 9.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002435/0.007536, allocations: 95.2 kB / 485.2 MB, free: 9.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.007565, allocations: 53.59 kB / 485.3 MB, free: 9.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.007638, allocations: 172 kB / 485.4 MB, free: 8.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.007659, allocations: 31.83 kB / 485.5 MB, free: 8.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.007883, allocations: 142.7 kB / 485.6 MB, free: 24.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.007902, allocations: 14.27 kB / 485.6 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.007968, allocations: 42.97 kB / 485.7 MB, free: 24.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.008098, allocations: 0.4899 MB / 486.2 MB, free: 24.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.008188, allocations: 62.59 kB / 486.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.008275, allocations: 94.03 kB / 486.3 MB, free: 24.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.008386, allocations: 116.3 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.008388, allocations: 1.094 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002618/0.00865, allocations: 203.1 kB / 486.6 MB, free: 23.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.008679, allocations: 39.14 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.008685, allocations: 5.031 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.0087, allocations: 1.969 kB / 486.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.008793, allocations: 16.08 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.0088, allocations: 2.031 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.008913, allocations: 23.17 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.008932, allocations: 9.75 kB / 486.7 MB, free: 23.88 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 8.503e-05/0.009017, allocations: 163.1 kB / 486.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.009034, allocations: 15.39 kB / 486.9 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009178, allocations: 87.42 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.00918, allocations: 1.25 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009184, allocations: 3.938 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009188, allocations: 2.469 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.009397, allocations: 320.4 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009399, allocations: 1.219 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.009443, allocations: 5.094 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009446, allocations: 1.156 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009454, allocations: 5.281 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.009457, allocations: 4.688 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009458, allocations: 0.9375 kB / 487.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.0096, allocations: 233.3 kB / 487.5 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.009609, allocations: 3.906 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.009629, allocations: 1.375 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.009693, allocations: 9.797 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.009734, allocations: 2.625 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.009742, allocations: 8.047 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.00979, allocations: 128.5 kB / 487.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009791, allocations: 1.344 kB / 487.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.01007, allocations: 26.42 kB / 487.7 MB, free: 23.01 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.0001223/0.01019, allocations: 96.91 kB / 487.8 MB, free: 22.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.0104, allocations: 164.1 kB / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0104, allocations: 0 / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.01044, allocations: 33.73 kB / 488 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.01073, allocations: 18.81 kB / 488 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.01123, allocations: 162.2 kB / 488.2 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.01127, allocations: 63.77 kB / 488.3 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.753e-05/0.01129, allocations: 7.125 kB / 488.3 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.01132, allocations: 11.09 kB / 488.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.011e-06/0.01132, allocations: 1.344 kB / 488.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of Templates: time 0.004065/0.01539, allocations: 1.661 MB / 489.9 MB, free: 22.41 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.3341866158880293]