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.0006548/0.0006548, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008801/0.001535, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006624/0.0006624, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008509/0.001513, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8967/0.8967, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07855/0.9753, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.577/0.577, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07752/0.6546, allocations: 38.16 MB / 402.4 MB, free: 12.26 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.283e-06/1.283e-06, allocations: 0 / 403.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.128e-05, allocations: 2.312 kB / 403.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001666/0.001678, allocations: 0.7832 MB / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.003183, allocations: 1.221 MB / 405.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.00322, allocations: 0 / 405.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.003243, allocations: 7.875 kB / 405.7 MB, free: 8.941 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.003289, allocations: 11.92 kB / 405.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.003615, allocations: 131.5 kB / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.003784, allocations: 135.7 kB / 406 MB, free: 8.668 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.003856, allocations: 12.17 kB / 406 MB, free: 8.652 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.00398, allocations: 79.88 kB / 406.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.595e-05/0.004066, allocations: 47.86 kB / 406.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.00409, allocations: 8 kB / 406.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.004172, allocations: 31.98 kB / 406.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.004194, allocations: 11.94 kB / 406.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.004242, allocations: 23.94 kB / 406.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.004396, allocations: 87.73 kB / 406.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.004408, allocations: 3.984 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004408, allocations: 0 / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.00442, allocations: 0 / 406.3 MB, free: 8.363 MB / 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.0004783/0.004898, allocations: 326.1 kB / 406.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.004932, allocations: 12.03 kB / 406.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.005077, allocations: 97.97 kB / 406.7 MB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.005165, allocations: 109.8 kB / 406.8 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.005181, allocations: 4.375 kB / 406.8 MB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.005207, allocations: 16.38 kB / 406.8 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.00534, allocations: 78.8 kB / 406.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005347, allocations: 192 / 406.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005355, allocations: 4.359 kB / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005363, allocations: 4.125 kB / 406.9 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.005396, allocations: 15.98 kB / 406.9 MB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.005704, allocations: 192.1 kB / 407.1 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.005775, allocations: 34.58 kB / 407.2 MB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.005796, allocations: 12.84 kB / 407.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.005808, allocations: 0 / 407.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.005917, allocations: 79.45 kB / 407.2 MB, free: 7.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.005919, allocations: 0 / 407.2 MB, free: 7.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000114/0.006033, allocations: 69.66 kB / 407.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.006059, allocations: 55.41 kB / 407.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.006113, allocations: 126.5 kB / 407.5 MB, free: 7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.006131, allocations: 37.7 kB / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.006164, allocations: 92.08 kB / 407.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.006183, allocations: 31.77 kB / 407.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.006224, allocations: 29.7 kB / 407.7 MB, free: 6.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.006291, allocations: 322.8 kB / 408 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.006334, allocations: 49.69 kB / 408 MB, free: 6.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.006391, allocations: 98.75 kB / 408.1 MB, free: 6.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.006466, allocations: 118.8 kB / 408.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006467, allocations: 0 / 408.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001284/0.006596, allocations: 176.8 kB / 408.4 MB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.006622, allocations: 37.7 kB / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.006625, allocations: 0 / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.006636, allocations: 4 kB / 408.5 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.006702, allocations: 19.92 kB / 408.5 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.006705, allocations: 0 / 408.5 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.006774, allocations: 28.12 kB / 408.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.006789, allocations: 12 kB / 408.5 MB, free: 5.859 MB / 394.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 5.349e-05/0.006842, allocations: 113.8 kB / 408.6 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.006852, allocations: 11.92 kB / 408.6 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.006928, allocations: 66.05 kB / 408.7 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.00693, allocations: 4 kB / 408.7 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006932, allocations: 0 / 408.7 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006934, allocations: 0 / 408.7 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.007053, allocations: 214.8 kB / 408.9 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007054, allocations: 4 kB / 408.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.007081, allocations: 11.88 kB / 408.9 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.00709, allocations: 15.88 kB / 409 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.007092, allocations: 0 / 409 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.007097, allocations: 4 kB / 409 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007098, allocations: 3.938 kB / 409 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007099, allocations: 0 / 409 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.97e-05/0.007169, allocations: 159.5 kB / 409.1 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-06/0.007176, allocations: 0 / 409.1 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.00721, allocations: 11.98 kB / 409.1 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.007229, allocations: 4 kB / 409.1 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007234, allocations: 7.984 kB / 409.1 MB, free: 5.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.302e-05/0.007247, allocations: 12.86 kB / 409.2 MB, free: 5.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007247, allocations: 0 / 409.2 MB, free: 5.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.007381, allocations: 27.95 kB / 409.2 MB, free: 5.137 MB / 394.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.173e-05/0.007463, allocations: 88.34 kB / 409.3 MB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.007593, allocations: 158.4 kB / 409.4 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.007596, allocations: 480 / 409.4 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.007626, allocations: 28.84 kB / 409.5 MB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.007769, allocations: 101.1 kB / 409.5 MB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.008343, allocations: 180.6 kB / 409.7 MB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.812e-05/0.008371, allocations: 63.34 kB / 409.8 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.014e-05/0.008391, allocations: 4 kB / 409.8 MB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.008461, allocations: 79.34 kB / 409.9 MB, free: 4.352 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.008462, allocations: 0 / 409.9 MB, free: 4.352 MB / 394.7 MB Notification: Performance of Templates: time 0.002596/0.01106, allocations: 1.665 MB / 411.5 MB, free: 2.684 MB / 394.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: 2.854360541328788]