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.001857/0.001857, allocations: 88.17 kB / 20.21 MB, free: 4.207 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.002013/0.002013, allocations: 169.6 kB / 23.53 MB, free: 0.8906 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 1.045/1.045, allocations: 115 MB / 375.3 MB, free: 7.594 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.325e-06/2.325e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.743e-05, allocations: 5.469 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00167/0.001697, allocations: 0.7235 MB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002907, allocations: 1.1 MB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.002957, allocations: 2.156 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002984, allocations: 3.938 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.003064, allocations: 14.95 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.003343, allocations: 55.2 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.003455, allocations: 72.55 kB / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.003545, allocations: 12.14 kB / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.003636, allocations: 45.12 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.003687, allocations: 28.83 kB / 482.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.003709, allocations: 5.969 kB / 482.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.293e-05/0.003762, allocations: 14.95 kB / 482.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.003783, allocations: 15.08 kB / 482.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.003828, allocations: 22.5 kB / 482.9 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.003968, allocations: 89.52 kB / 483 MB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003971, allocations: 2.031 kB / 483 MB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003972, allocations: 0 / 483 MB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.003976, allocations: 0.5625 kB / 483 MB, free: 10.55 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.0004352/0.004411, allocations: 409.1 kB / 483.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004445, allocations: 9.938 kB / 483.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.004493, allocations: 6.188 kB / 483.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.004568, allocations: 117.2 kB / 483.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.004583, allocations: 8.125 kB / 483.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.004598, allocations: 8.531 kB / 483.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.004762, allocations: 59.58 kB / 483.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.004773, allocations: 4.188 kB / 483.6 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004783, allocations: 384 / 483.6 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.004787, allocations: 5.062 kB / 483.6 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.004899, allocations: 35.33 kB / 483.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.005591, allocations: 316 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.00575, allocations: 57.09 kB / 484 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.005817, allocations: 25.84 kB / 484 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.005846, allocations: 7.781 kB / 484 MB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.00598, allocations: 84.27 kB / 484.1 MB, free: 25.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005981, allocations: 0 / 484.1 MB, free: 25.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003317/0.006313, allocations: 111.3 kB / 484.2 MB, free: 25.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.006337, allocations: 54.25 kB / 484.3 MB, free: 25.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.006461, allocations: 191.2 kB / 484.5 MB, free: 25.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.006473, allocations: 31.7 kB / 484.5 MB, free: 25.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.006552, allocations: 141.2 kB / 484.6 MB, free: 25.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.006569, allocations: 15.28 kB / 484.7 MB, free: 25.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.00662, allocations: 38.44 kB / 484.7 MB, free: 25.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.006849, allocations: 0.4934 MB / 485.2 MB, free: 24.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.006928, allocations: 24.44 kB / 485.2 MB, free: 24.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.00702, allocations: 99.16 kB / 485.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.007179, allocations: 117.4 kB / 485.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.007181, allocations: 0 / 485.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.007414, allocations: 129.9 kB / 485.6 MB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.007429, allocations: 8.781 kB / 485.6 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.007435, allocations: 3.5 kB / 485.6 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.007452, allocations: 6.328 kB / 485.6 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.00757, allocations: 20.09 kB / 485.6 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.007578, allocations: 10.38 kB / 485.6 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.007658, allocations: 12.64 kB / 485.6 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.007672, allocations: 8.781 kB / 485.6 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 0.0001148/0.007787, allocations: 162.4 kB / 485.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.007804, allocations: 12.88 kB / 485.8 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.007831, allocations: 12.7 kB / 485.8 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007833, allocations: 1.281 kB / 485.8 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007836, allocations: 0 / 485.8 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007839, allocations: 0 / 485.8 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.008208, allocations: 367.2 kB / 486.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00821, allocations: 0 / 486.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.008247, allocations: 7.688 kB / 486.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.008249, allocations: 1.438 kB / 486.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.008259, allocations: 5.156 kB / 486.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008261, allocations: 1.25 kB / 486.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008261, allocations: 0 / 486.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.008517, allocations: 252.2 kB / 486.4 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.00853, allocations: 13.36 kB / 486.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.008546, allocations: 5.625 kB / 486.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.008612, allocations: 2.188 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.008654, allocations: 7.516 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.00866, allocations: 3 kB / 486.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.008756, allocations: 141.6 kB / 486.6 MB, free: 23.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008756, allocations: 0 / 486.6 MB, free: 23.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.009, allocations: 16.25 kB / 486.6 MB, free: 23.37 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.000152/0.009152, allocations: 106.3 kB / 486.7 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.009377, allocations: 79.09 kB / 486.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009379, allocations: 0 / 486.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.009474, allocations: 33.86 kB / 486.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.00974, allocations: 19.09 kB / 486.8 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.01007, allocations: 160 kB / 487 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.597e-05/0.01012, allocations: 77.48 kB / 487.1 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.01015, allocations: 5.438 kB / 487.1 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.01019, allocations: 16.97 kB / 487.1 MB, free: 23 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01019, allocations: 0 / 487.1 MB, free: 23 MB / 426.7 MB Notification: Performance of Templates: time 0.003868/0.01406, allocations: 1.029 MB / 488.1 MB, free: 22.92 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: 5.751090772100724]