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.000995/0.000995, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001167/0.001167, allocations: 171.4 kB / 24.84 MB, free: 9.293 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 / 205.3 MB, free: 5.516 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.6046/0.6046, allocations: 115 MB / 376.8 MB, free: 7.504 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 1.603e-06/1.603e-06, allocations: 0 / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.619e-05, allocations: 5.766 kB / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001216/0.001232, allocations: 0.7331 MB / 483.5 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002275, allocations: 1.118 MB / 484.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.002326, allocations: 1.375 kB / 484.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.002354, allocations: 9.25 kB / 484.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.026e-05/0.002424, allocations: 21.22 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.002685, allocations: 47.89 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.002796, allocations: 67.67 kB / 484.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.002879, allocations: 17.64 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.002959, allocations: 48.36 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.003002, allocations: 24.5 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003018, allocations: 6.25 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.003068, allocations: 23.42 kB / 484.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.003088, allocations: 13.61 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.003112, allocations: 21.03 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.003217, allocations: 62.2 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003219, allocations: 0 / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003219, allocations: 0 / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.003223, allocations: 0.75 kB / 485 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003257/0.003549, allocations: 407.4 kB / 485.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.003582, allocations: 9.344 kB / 485.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.003617, allocations: 7.219 kB / 485.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.003691, allocations: 117 kB / 485.5 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.003704, allocations: 10.92 kB / 485.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.003716, allocations: 5.562 kB / 485.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.003822, allocations: 66.53 kB / 485.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.003829, allocations: 192 / 485.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.003837, allocations: 1.906 kB / 485.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.003842, allocations: 9.438 kB / 485.6 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.003863, allocations: 13.53 kB / 485.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.004162, allocations: 287.4 kB / 485.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.634e-05/0.004238, allocations: 46.34 kB / 485.9 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.004254, allocations: 11.5 kB / 485.9 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.00427, allocations: 3.875 kB / 485.9 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.004334, allocations: 65.98 kB / 486 MB, free: 9.348 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.004335, allocations: 0.5938 kB / 486 MB, free: 9.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001552/0.00449, allocations: 85.69 kB / 486.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.004518, allocations: 59.28 kB / 486.1 MB, free: 9.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.004736, allocations: 181.7 kB / 486.3 MB, free: 25.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.004746, allocations: 26.83 kB / 486.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.004792, allocations: 136.4 kB / 486.5 MB, free: 24.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.004807, allocations: 18.45 kB / 486.5 MB, free: 24.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.004843, allocations: 36.78 kB / 486.5 MB, free: 24.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.004948, allocations: 0.4912 MB / 487 MB, free: 24.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.004968, allocations: 7.812 kB / 487 MB, free: 24.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.005004, allocations: 71.62 kB / 487.1 MB, free: 24.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.005068, allocations: 95.7 kB / 487.2 MB, free: 24.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00507, allocations: 4 kB / 487.2 MB, free: 24.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001079/0.005178, allocations: 98.45 kB / 487.3 MB, free: 24.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005189, allocations: 6.312 kB / 487.3 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005194, allocations: 1 kB / 487.3 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.005204, allocations: 4.406 kB / 487.3 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.00528, allocations: 20.42 kB / 487.3 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.005284, allocations: 2.969 kB / 487.3 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.00532, allocations: 19.58 kB / 487.4 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.00533, allocations: 4 kB / 487.4 MB, free: 24.09 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 6.665e-05/0.005397, allocations: 166.8 kB / 487.5 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.005408, allocations: 8.281 kB / 487.5 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.005428, allocations: 12.72 kB / 487.5 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00543, allocations: 4.969 kB / 487.5 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.005432, allocations: 1 kB / 487.5 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.005436, allocations: 0 / 487.5 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.005635, allocations: 314.7 kB / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.005636, allocations: 2.156 kB / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.005663, allocations: 8.344 kB / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005664, allocations: 0 / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.00567, allocations: 4.469 kB / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.005672, allocations: 2.094 kB / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005673, allocations: 0 / 487.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.005779, allocations: 223.6 kB / 488.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-06/0.005787, allocations: 13.83 kB / 488.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.005797, allocations: 1.219 kB / 488.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.005832, allocations: 6.656 kB / 488.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.005857, allocations: 7.75 kB / 488.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.005861, allocations: 1.125 kB / 488.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.0059, allocations: 130.5 kB / 488.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0059, allocations: 0 / 488.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.006072, allocations: 17.72 kB / 488.3 MB, free: 23.28 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 8.694e-05/0.006159, allocations: 109.5 kB / 488.4 MB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.336e-05/0.006252, allocations: 51.28 kB / 488.4 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.006253, allocations: 0 / 488.4 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.006281, allocations: 19.16 kB / 488.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.006456, allocations: 13.55 kB / 488.5 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.006676, allocations: 174 kB / 488.6 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.269e-05/0.006699, allocations: 57.17 kB / 488.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.326e-05/0.006722, allocations: 8.375 kB / 488.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.006775, allocations: 84.94 kB / 488.8 MB, free: 22.86 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006776, allocations: 0 / 488.8 MB, free: 22.86 MB / 426.7 MB Notification: Performance of Templates: time 0.002569/0.009345, allocations: 1.143 MB / 489.9 MB, free: 22.76 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.4970472678542137]