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.001306/0.001306, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001435/0.001435, allocations: 165 kB / 23.8 MB, free: 0.7695 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.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6461/0.6461, allocations: 115 MB / 375.7 MB, free: 7.629 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 2.024e-06/2.024e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.673e-05, allocations: 5.703 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001585/0.001602, allocations: 0.7472 MB / 482.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002883, allocations: 1.212 MB / 483.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.002937, allocations: 0.7188 kB / 483.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.952e-05/0.003006, allocations: 5.469 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.003114, allocations: 19.25 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.003581, allocations: 140.3 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003707, allocations: 127.4 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.003795, allocations: 16.92 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.003907, allocations: 71.09 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.003984, allocations: 38.2 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.00401, allocations: 11.03 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.004077, allocations: 30.91 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.0041, allocations: 14.3 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.004156, allocations: 39.16 kB / 484 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004318, allocations: 105.9 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00432, allocations: 0 / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004321, allocations: 3.938 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004324, allocations: 3.031 kB / 484.1 MB, free: 10.28 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.000436/0.004761, allocations: 440.2 kB / 484.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.0048, allocations: 9.344 kB / 484.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.004912, allocations: 21.77 kB / 484.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.317e-05/0.004975, allocations: 116.2 kB / 484.6 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.004991, allocations: 9.594 kB / 484.6 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.005009, allocations: 7.875 kB / 484.7 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.005128, allocations: 74.38 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005135, allocations: 192 / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.005146, allocations: 8.656 kB / 484.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005155, allocations: 6.219 kB / 484.7 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.005193, allocations: 12.56 kB / 484.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.00552, allocations: 330.5 kB / 485.1 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.005597, allocations: 45.22 kB / 485.1 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.00562, allocations: 17 kB / 485.1 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.005635, allocations: 4.578 kB / 485.1 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/0.005715, allocations: 73.23 kB / 485.2 MB, free: 9.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.005716, allocations: 1.406 kB / 485.2 MB, free: 9.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001948/0.005911, allocations: 101.5 kB / 485.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.005935, allocations: 60.73 kB / 485.4 MB, free: 9.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.006071, allocations: 181.4 kB / 485.5 MB, free: 24.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.006087, allocations: 33.95 kB / 485.6 MB, free: 24.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.006137, allocations: 135.1 kB / 485.7 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.006154, allocations: 22.45 kB / 485.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.006202, allocations: 42.45 kB / 485.8 MB, free: 24.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.006309, allocations: 0.4898 MB / 486.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.006376, allocations: 62.19 kB / 486.3 MB, free: 24.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.006449, allocations: 123.6 kB / 486.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.006542, allocations: 133.6 kB / 486.6 MB, free: 23.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006544, allocations: 0 / 486.6 MB, free: 23.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001988/0.006743, allocations: 222.3 kB / 486.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.006767, allocations: 36.84 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.006772, allocations: 1.344 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.006789, allocations: 3.031 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.006861, allocations: 12.16 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.006867, allocations: 13.86 kB / 486.9 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.006951, allocations: 27.78 kB / 486.9 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.006965, allocations: 10.78 kB / 486.9 MB, free: 23.77 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 6.653e-05/0.007032, allocations: 163.7 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.007043, allocations: 14.39 kB / 487.1 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.007161, allocations: 91.44 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007163, allocations: 1.406 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.007166, allocations: 0 / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007169, allocations: 3.281 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.007335, allocations: 337 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007337, allocations: 1.344 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.007363, allocations: 8.594 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007365, allocations: 0 / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.007371, allocations: 1.25 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007373, allocations: 2.281 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007374, allocations: 3.938 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007487, allocations: 245.8 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.007495, allocations: 6.328 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.007506, allocations: 5.031 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.007541, allocations: 5.641 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.007573, allocations: 5.844 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.00758, allocations: 2.906 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.007622, allocations: 141.7 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007622, allocations: 0 / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.007791, allocations: 30.09 kB / 487.9 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.864e-05/0.007879, allocations: 101.9 kB / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.008049, allocations: 172.1 kB / 488.2 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00805, allocations: 0 / 488.2 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.008087, allocations: 25.17 kB / 488.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.008267, allocations: 19.25 kB / 488.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.008676, allocations: 185.8 kB / 488.4 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.008708, allocations: 59.77 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.159e-05/0.00873, allocations: 4.766 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.008752, allocations: 16.86 kB / 488.5 MB, free: 22.42 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008753, allocations: 0 / 488.5 MB, free: 22.42 MB / 426.7 MB Notification: Performance of Templates: time 0.003237/0.01199, allocations: 1.691 MB / 490.2 MB, free: 22.29 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.459173264913261]