Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001207/0.001207, allocations: 96.2 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.001489/0.001489, allocations: 165 kB / 23.79 MB, free: 0.7734 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.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.6132/0.6132, allocations: 115 MB / 375.7 MB, free: 7.668 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.183e-05/4.477e-05, allocations: 4.984 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002274/0.002319, allocations: 0.7442 MB / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.004328, allocations: 1.12 MB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.004428, allocations: 0 / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.137e-05/0.004489, allocations: 7.875 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.004634, allocations: 13.97 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.00517, allocations: 57.58 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.005335, allocations: 70.42 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.005472, allocations: 9.625 kB / 483.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.005606, allocations: 47.88 kB / 483.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.005677, allocations: 24.66 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.005704, allocations: 5.906 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.005785, allocations: 16.12 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.005816, allocations: 17.81 kB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.005862, allocations: 20.36 kB / 483.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.006035, allocations: 72.77 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006039, allocations: 2.375 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.00604, allocations: 0.875 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.006046, allocations: 0 / 483.7 MB, free: 10.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000527/0.006573, allocations: 403.4 kB / 484.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.006624, allocations: 9.031 kB / 484.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.006696, allocations: 6.344 kB / 484.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.006802, allocations: 118.4 kB / 484.3 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.006819, allocations: 2.656 kB / 484.3 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.00684, allocations: 12.17 kB / 484.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.007029, allocations: 64.05 kB / 484.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.00704, allocations: 192 / 484.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.007053, allocations: 0.9062 kB / 484.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.007065, allocations: 5.312 kB / 484.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.007116, allocations: 11.83 kB / 484.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.007729, allocations: 315.5 kB / 484.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.007869, allocations: 42.83 kB / 484.7 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.007907, allocations: 17.28 kB / 484.7 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.007933, allocations: 5.438 kB / 484.7 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.008049, allocations: 67.88 kB / 484.8 MB, free: 9.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.008051, allocations: 0 / 484.8 MB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002826/0.008333, allocations: 87.62 kB / 484.9 MB, free: 9.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.008373, allocations: 54.41 kB / 484.9 MB, free: 9.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.008466, allocations: 182.8 kB / 485.1 MB, free: 9.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.008482, allocations: 29.78 kB / 485.1 MB, free: 9.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.008738, allocations: 139.8 kB / 485.3 MB, free: 25.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.008762, allocations: 17.59 kB / 485.3 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.008817, allocations: 34.97 kB / 485.3 MB, free: 24.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.00897, allocations: 499.2 kB / 485.8 MB, free: 24.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.009014, allocations: 10.48 kB / 485.8 MB, free: 24.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.00908, allocations: 75.75 kB / 485.9 MB, free: 24.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.009196, allocations: 93.25 kB / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.009199, allocations: 1.188 kB / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/0.009393, allocations: 104.1 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.009414, allocations: 9.141 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.009421, allocations: 2.25 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.009439, allocations: 3.594 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.009577, allocations: 16.83 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.009585, allocations: 10.33 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.009648, allocations: 12.33 kB / 486.2 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.009665, allocations: 14.23 kB / 486.2 MB, free: 24.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.714e-05/0.009762, allocations: 163.1 kB / 486.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.009783, allocations: 8.719 kB / 486.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.009816, allocations: 9.656 kB / 486.3 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.009818, allocations: 1.094 kB / 486.3 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.009825, allocations: 5.906 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.009829, allocations: 4.297 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.01016, allocations: 341.1 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01016, allocations: 0 / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.0102, allocations: 11.97 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01021, allocations: 1.281 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.01021, allocations: 1.5 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01022, allocations: 1.219 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01022, allocations: 0 / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.0104, allocations: 231.8 kB / 486.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.01041, allocations: 12.48 kB / 486.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.01043, allocations: 1.281 kB / 486.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.0105, allocations: 9.859 kB / 487 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.01054, allocations: 2.656 kB / 487 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01055, allocations: 4.75 kB / 487 MB, free: 23.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.907e-05/0.01062, allocations: 136.6 kB / 487.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01062, allocations: 0 / 487.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.01092, allocations: 12.72 kB / 487.1 MB, free: 23.39 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001625/0.01108, allocations: 104.9 kB / 487.2 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.01124, allocations: 51.34 kB / 487.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01125, allocations: 1.281 kB / 487.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.0113, allocations: 21.44 kB / 487.3 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.01161, allocations: 18.03 kB / 487.3 MB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.01199, allocations: 159.9 kB / 487.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.01203, allocations: 60.83 kB / 487.5 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.01207, allocations: 9.125 kB / 487.5 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01211, allocations: 13.03 kB / 487.5 MB, free: 23.04 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01211, allocations: 3.938 kB / 487.5 MB, free: 23.03 MB / 426.7 MB Notification: Performance of Templates: time 0.003763/0.01587, allocations: 1.101 MB / 488.6 MB, free: 22.94 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5490066218189895]