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.0009856/0.0009856, allocations: 76.95 kB / 20.72 MB, free: 3.766 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.0009997/0.0009997, allocations: 169.3 kB / 24.14 MB, free: 356 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.9182/0.9182, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6713/0.6713, allocations: 115 MB / 376 MB, free: 7.48 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.713e-06/1.713e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.689e-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.TriggeredSampler): time 0.001573/0.00159, allocations: 0.7516 MB / 429.4 MB, free: 2.062 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.002945, allocations: 1.221 MB / 430.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.002992, allocations: 0 / 430.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.003019, allocations: 11.88 kB / 430.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.003086, allocations: 11.88 kB / 430.7 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.00348, allocations: 139.5 kB / 430.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.003635, allocations: 123.7 kB / 430.9 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.003714, allocations: 20.17 kB / 431 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003823, allocations: 71.86 kB / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.003898, allocations: 31.95 kB / 431.1 MB, free: 432 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.003921, allocations: 12 kB / 431.1 MB, free: 420 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.003982, allocations: 35.92 kB / 431.1 MB, free: 384 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.004004, allocations: 19.91 kB / 431.1 MB, free: 364 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.00405, allocations: 35.91 kB / 431.2 MB, free: 328 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004195, allocations: 107.7 kB / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004197, allocations: 0 / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004197, allocations: 0 / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.0042, allocations: 0 / 431.3 MB, free: 220 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003959/0.004596, allocations: 318.4 kB / 431.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.004629, allocations: 8.031 kB / 431.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.004725, allocations: 16.86 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/0.004812, allocations: 121.7 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004823, allocations: 4.375 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.004842, allocations: 8.375 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004953, allocations: 78.86 kB / 431.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.00496, allocations: 192 / 431.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.004968, allocations: 384 / 431.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.004976, allocations: 8.125 kB / 431.8 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.005003, allocations: 11.98 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.00529, allocations: 188.1 kB / 432 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.005356, allocations: 38.58 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.005375, allocations: 12.84 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.005387, allocations: 0 / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.385e-05/0.005481, allocations: 83.45 kB / 432.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.005482, allocations: 0 / 432.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000138/0.00562, allocations: 69.66 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.005654, allocations: 55.41 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.00573, allocations: 130.6 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.005752, allocations: 29.7 kB / 432.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.005794, allocations: 88.09 kB / 432.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.00582, allocations: 35.77 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.00588, allocations: 33.69 kB / 432.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.005972, allocations: 322.8 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.006032, allocations: 57.62 kB / 433 MB, free: 14.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.006103, allocations: 86.83 kB / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.006211, allocations: 106.8 kB / 433.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.006213, allocations: 0 / 433.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001781/0.006392, allocations: 180.8 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.006419, allocations: 33.7 kB / 433.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006424, allocations: 0 / 433.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.006438, allocations: 4 kB / 433.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.006508, allocations: 19.92 kB / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.006511, allocations: 320 / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.006609, allocations: 24.14 kB / 433.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.006627, allocations: 15.98 kB / 433.4 MB, free: 13.83 MB / 410.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 8.183e-05/0.006709, allocations: 113.8 kB / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.006724, allocations: 11.92 kB / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.006827, allocations: 74.02 kB / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.00683, allocations: 4 kB / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006832, allocations: 0 / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.006836, allocations: 0 / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.007006, allocations: 206.8 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.007009, allocations: 4 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.007043, allocations: 19.88 kB / 433.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007045, allocations: 0 / 433.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.007049, allocations: 0 / 433.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007051, allocations: 0 / 433.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007052, allocations: 3.938 kB / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.756e-05/0.007149, allocations: 159.5 kB / 434 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.007163, allocations: 15.83 kB / 434 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007173, allocations: 0 / 434 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.007224, allocations: 4 kB / 434 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.007254, allocations: 7.984 kB / 434 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.007259, allocations: 0 / 434 MB, free: 13.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.01e-05/0.007279, allocations: 24.83 kB / 434 MB, free: 13.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007279, allocations: 0 / 434 MB, free: 13.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004927/0.007772, allocations: 28 kB / 434.1 MB, free: 13.11 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: 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 9.782e-05/0.00787, allocations: 84.34 kB / 434.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.008031, allocations: 149.9 kB / 434.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.008034, allocations: 0 / 434.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.008066, allocations: 24.83 kB / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.008236, allocations: 23.73 kB / 434.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.008629, allocations: 184.6 kB / 434.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.008665, allocations: 59.34 kB / 434.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.008689, allocations: 7.984 kB / 434.6 MB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.008771, allocations: 67.36 kB / 434.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008771, allocations: 0 / 434.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of Templates: time 0.003406/0.01218, allocations: 1.628 MB / 436.3 MB, free: 10.82 MB / 410.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.4109458411112428]