Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0009067/0.0009067, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009696/0.0009696, allocations: 172.3 kB / 24.84 MB, free: 9.297 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6159/0.6159, allocations: 115 MB / 376.8 MB, free: 7.469 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 482.7 MB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.569e-05, allocations: 4.172 kB / 482.7 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001592/0.001607, allocations: 0.7391 MB / 483.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.002917, allocations: 1.218 MB / 484.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.002978, allocations: 1.094 kB / 484.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.00301, allocations: 3.938 kB / 484.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.003095, allocations: 14.69 kB / 484.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.003557, allocations: 136 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.003736, allocations: 129.4 kB / 485 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.003819, allocations: 13.44 kB / 485 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.003922, allocations: 78.56 kB / 485.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.003994, allocations: 36.83 kB / 485.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.004017, allocations: 15.78 kB / 485.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.004077, allocations: 22.48 kB / 485.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.004097, allocations: 18.41 kB / 485.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.004135, allocations: 40.3 kB / 485.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.004262, allocations: 108.5 kB / 485.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004264, allocations: 0.9375 kB / 485.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004264, allocations: 0.9062 kB / 485.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004269, allocations: 0.7812 kB / 485.3 MB, free: 10.21 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003399/0.004609, allocations: 436.2 kB / 485.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.004639, allocations: 10.28 kB / 485.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.004727, allocations: 21.34 kB / 485.8 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.687e-05/0.004784, allocations: 122.9 kB / 485.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.004798, allocations: 4.438 kB / 485.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.004813, allocations: 8 kB / 485.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/0.004904, allocations: 71.47 kB / 486 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004911, allocations: 1.219 kB / 486 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004919, allocations: 5 kB / 486 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.004926, allocations: 7.5 kB / 486 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.004953, allocations: 17.91 kB / 486 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.005209, allocations: 295.5 kB / 486.3 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.005271, allocations: 50.06 kB / 486.3 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.005287, allocations: 15.25 kB / 486.3 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.005299, allocations: 5.094 kB / 486.3 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.255e-05/0.005372, allocations: 72.73 kB / 486.4 MB, free: 9.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005373, allocations: 1.375 kB / 486.4 MB, free: 9.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001558/0.005529, allocations: 109 kB / 486.5 MB, free: 9.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.005549, allocations: 54.34 kB / 486.6 MB, free: 9.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.005598, allocations: 188.8 kB / 486.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.005611, allocations: 27.23 kB / 486.8 MB, free: 8.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.005643, allocations: 136.2 kB / 486.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.005659, allocations: 24.05 kB / 486.9 MB, free: 8.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.005708, allocations: 45.61 kB / 487 MB, free: 8.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.00589, allocations: 0.4901 MB / 487.5 MB, free: 24.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.005943, allocations: 53.38 kB / 487.5 MB, free: 24.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.006001, allocations: 113 kB / 487.6 MB, free: 24.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.00608, allocations: 130.1 kB / 487.8 MB, free: 23.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006082, allocations: 1.188 kB / 487.8 MB, free: 23.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001814/0.006263, allocations: 205.1 kB / 488 MB, free: 23.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.006286, allocations: 35.41 kB / 488 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00629, allocations: 2.312 kB / 488 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.006299, allocations: 3.812 kB / 488 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.006362, allocations: 18.02 kB / 488 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.006365, allocations: 2.5 kB / 488 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.006459, allocations: 32.61 kB / 488.1 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.006474, allocations: 6.938 kB / 488.1 MB, free: 23.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.016e-05/0.006544, allocations: 170.2 kB / 488.2 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.006557, allocations: 13.3 kB / 488.2 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.965e-05/0.006646, allocations: 90.61 kB / 488.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006648, allocations: 0 / 488.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006649, allocations: 0 / 488.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006653, allocations: 5 kB / 488.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.006807, allocations: 308.8 kB / 488.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006809, allocations: 10.77 kB / 488.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.006834, allocations: 2.188 kB / 488.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006836, allocations: 5 kB / 488.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.006841, allocations: 2 kB / 488.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006843, allocations: 1.344 kB / 488.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006844, allocations: 1.438 kB / 488.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.006945, allocations: 232.5 kB / 488.9 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.006952, allocations: 11.3 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.006961, allocations: 7 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.006996, allocations: 5.984 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.007021, allocations: 5.688 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.007026, allocations: 1.344 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.539e-05/0.007061, allocations: 137.3 kB / 489.1 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.007061, allocations: 0.5625 kB / 489.1 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.007239, allocations: 28.06 kB / 489.1 MB, free: 22.89 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.158e-05/0.00732, allocations: 99.41 kB / 489.2 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.007472, allocations: 162.5 kB / 489.3 MB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.007473, allocations: 1.969 kB / 489.3 MB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.007501, allocations: 28.03 kB / 489.4 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.00768, allocations: 20.95 kB / 489.4 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.00801, allocations: 176.6 kB / 489.6 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.322e-05/0.008034, allocations: 61.83 kB / 489.6 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.073e-05/0.008054, allocations: 7.125 kB / 489.6 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.008129, allocations: 91.62 kB / 489.7 MB, free: 22.38 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00813, allocations: 0 / 489.7 MB, free: 22.38 MB / 426.7 MB Notification: Performance of Templates: time 0.003046/0.01118, allocations: 1.74 MB / 491.5 MB, free: 22.23 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.415577530860901]