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.001517/0.001517, allocations: 92.72 kB / 20.21 MB, free: 4.215 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.001691/0.001691, allocations: 165.7 kB / 23.52 MB, free: 0.9062 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.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.9701/0.9701, allocations: 115 MB / 375.3 MB, free: 7.586 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 3.116e-06/3.116e-06, allocations: 0 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.568e-05, allocations: 8.828 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001837/0.001873, allocations: 0.7249 MB / 481.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003204, allocations: 1.191 MB / 482.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.003265, allocations: 0 / 482.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.003298, allocations: 11.2 kB / 482.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.003374, allocations: 10.31 kB / 482.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.003836, allocations: 138.9 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.004006, allocations: 126.4 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.004099, allocations: 18.55 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.004228, allocations: 68.03 kB / 483 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.004318, allocations: 44.02 kB / 483.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.004348, allocations: 10.91 kB / 483.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.004426, allocations: 29.45 kB / 483.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.004448, allocations: 11.17 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.004513, allocations: 36.09 kB / 483.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.004728, allocations: 151.4 kB / 483.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00473, allocations: 0 / 483.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004731, allocations: 0 / 483.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004736, allocations: 0 / 483.3 MB, free: 10.32 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.0005279/0.005264, allocations: 340.9 kB / 483.7 MB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.005301, allocations: 10.31 kB / 483.7 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.005447, allocations: 21.91 kB / 483.7 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.005525, allocations: 119.1 kB / 483.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.005544, allocations: 3.875 kB / 483.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.005569, allocations: 8.344 kB / 483.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.005787, allocations: 82.94 kB / 483.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005797, allocations: 192 / 483.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.005808, allocations: 1.688 kB / 483.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.005815, allocations: 5.281 kB / 483.9 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.006013, allocations: 52.23 kB / 484 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.006465, allocations: 265.7 kB / 484.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.006653, allocations: 54.58 kB / 484.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.006756, allocations: 34.62 kB / 484.3 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.006781, allocations: 1.062 kB / 484.3 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.007011, allocations: 93.98 kB / 484.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.007012, allocations: 1.031 kB / 484.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000469/0.007481, allocations: 160.6 kB / 484.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.007508, allocations: 54.59 kB / 484.6 MB, free: 9.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.007594, allocations: 121.9 kB / 484.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.007617, allocations: 28.11 kB / 484.8 MB, free: 9.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.007656, allocations: 94.08 kB / 484.8 MB, free: 9.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007674, allocations: 22.8 kB / 484.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.007745, allocations: 37.53 kB / 484.9 MB, free: 9.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002772/0.008022, allocations: 320.6 kB / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.008194, allocations: 80.06 kB / 485.3 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.008364, allocations: 123.8 kB / 485.4 MB, free: 24.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.008632, allocations: 150.6 kB / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008634, allocations: 2 kB / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004585/0.009093, allocations: 255.1 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.00913, allocations: 36.69 kB / 485.8 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.009138, allocations: 2.75 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.009161, allocations: 1.219 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.009275, allocations: 19.69 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.009284, allocations: 6.188 kB / 485.9 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.009506, allocations: 40.17 kB / 485.9 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.00953, allocations: 9.828 kB / 485.9 MB, free: 24.29 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 9.343e-05/0.009623, allocations: 117.7 kB / 486 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.009646, allocations: 17.33 kB / 486.1 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.009937, allocations: 135.3 kB / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.009941, allocations: 1.188 kB / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009945, allocations: 0 / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.009948, allocations: 1.312 kB / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.01034, allocations: 317.4 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01034, allocations: 4.578 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.01041, allocations: 10.09 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01042, allocations: 3.594 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.01043, allocations: 4.109 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01043, allocations: 4 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01043, allocations: 0 / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.01074, allocations: 218.3 kB / 486.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.01076, allocations: 10.58 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.01077, allocations: 2.094 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.01087, allocations: 7.047 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.01092, allocations: 7.156 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01092, allocations: 3.125 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.085e-05/0.01099, allocations: 101.9 kB / 486.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01099, allocations: 0 / 486.9 MB, free: 23.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.01128, allocations: 20.09 kB / 486.9 MB, free: 23.57 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 0.0001687/0.01145, allocations: 111.8 kB / 487 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003959/0.01185, allocations: 193 kB / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01185, allocations: 0 / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01197, allocations: 41.94 kB / 487.2 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.01227, allocations: 15.83 kB / 487.2 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.01269, allocations: 175.8 kB / 487.4 MB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.01276, allocations: 74.11 kB / 487.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.5e-05/0.01279, allocations: 2.719 kB / 487.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.01282, allocations: 14.38 kB / 487.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01282, allocations: 0 / 487.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of Templates: time 0.0046/0.01742, allocations: 1.573 MB / 489.1 MB, free: 22.99 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.359922734904103]