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.000887/0.000887, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009901/0.0009901, allocations: 173 kB / 24.25 MB, free: 304 kB / 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.031/1.031, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.6484/0.6484, allocations: 115 MB / 376 MB, free: 7.66 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 3.506e-06/3.506e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.478e-05, allocations: 9.062 kB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002269/0.002304, allocations: 0.7408 MB / 482.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.003844, allocations: 1.216 MB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.003908, allocations: 2 kB / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.003945, allocations: 7.875 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.004034, allocations: 15.84 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.00456, allocations: 136.8 kB / 483.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.004756, allocations: 124.7 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004874, allocations: 14.75 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.005022, allocations: 77.22 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.00513, allocations: 37.42 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.005165, allocations: 9.094 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.005253, allocations: 28.73 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.005281, allocations: 13.92 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.005356, allocations: 39.78 kB / 483.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.005574, allocations: 115.4 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005577, allocations: 0 / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005579, allocations: 2.344 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.005584, allocations: 0 / 484.1 MB, free: 10.36 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.0005084/0.006092, allocations: 436.8 kB / 484.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.006136, allocations: 9.562 kB / 484.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.006285, allocations: 14.33 kB / 484.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.00637, allocations: 125.4 kB / 484.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.00639, allocations: 4.25 kB / 484.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.006415, allocations: 10.62 kB / 484.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.006579, allocations: 74.92 kB / 484.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.006589, allocations: 2.562 kB / 484.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.006599, allocations: 384 / 484.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.006609, allocations: 5.219 kB / 484.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.512e-05/0.006664, allocations: 12.59 kB / 484.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.007121, allocations: 328.4 kB / 485.1 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.007229, allocations: 46.75 kB / 485.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.007264, allocations: 16.12 kB / 485.1 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.007284, allocations: 5.359 kB / 485.1 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.007406, allocations: 81.12 kB / 485.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.007408, allocations: 0 / 485.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002637/0.007671, allocations: 101.4 kB / 485.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.007703, allocations: 58.19 kB / 485.4 MB, free: 9.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.007788, allocations: 185.3 kB / 485.5 MB, free: 9.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.007811, allocations: 31.73 kB / 485.6 MB, free: 8.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.008035, allocations: 140 kB / 485.7 MB, free: 24.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.00806, allocations: 24.36 kB / 485.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.008134, allocations: 41.78 kB / 485.8 MB, free: 24.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.008273, allocations: 0.4898 MB / 486.3 MB, free: 24.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.008386, allocations: 64.67 kB / 486.3 MB, free: 24.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.008503, allocations: 115.8 kB / 486.4 MB, free: 24.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.008646, allocations: 134 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.008649, allocations: 0 / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003312/0.00898, allocations: 218.3 kB / 486.8 MB, free: 23.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.009011, allocations: 32.92 kB / 486.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.009017, allocations: 2.062 kB / 486.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.009034, allocations: 5.344 kB / 486.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.009141, allocations: 16.38 kB / 486.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.009148, allocations: 6.094 kB / 486.8 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.009282, allocations: 32.78 kB / 486.9 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.009307, allocations: 13.45 kB / 486.9 MB, free: 23.86 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 9.71e-05/0.009404, allocations: 165.3 kB / 487.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.009423, allocations: 12.08 kB / 487.1 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.009594, allocations: 95.23 kB / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009598, allocations: 1.156 kB / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.009602, allocations: 2.469 kB / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009605, allocations: 0 / 487.2 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.009857, allocations: 340.6 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009858, allocations: 2.125 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.009905, allocations: 8.812 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.009908, allocations: 2.812 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.009918, allocations: 0 / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.00992, allocations: 5.406 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.009922, allocations: 3.422 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.01011, allocations: 238.9 kB / 487.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.01012, allocations: 10.52 kB / 487.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01013, allocations: 1.25 kB / 487.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.0102, allocations: 5.688 kB / 487.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.01024, allocations: 6.125 kB / 487.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01025, allocations: 2.5 kB / 487.8 MB, free: 23.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.01031, allocations: 135.1 kB / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01031, allocations: 0.8125 kB / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.01063, allocations: 32.75 kB / 487.9 MB, free: 22.97 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 0.0001271/0.01075, allocations: 101.7 kB / 488 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.011, allocations: 174.3 kB / 488.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.011, allocations: 0 / 488.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.01105, allocations: 26.28 kB / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01136, allocations: 19.08 kB / 488.3 MB, free: 22.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.01195, allocations: 181.6 kB / 488.4 MB, free: 22.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.01198, allocations: 59.95 kB / 488.5 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.178e-05/0.01201, allocations: 3.875 kB / 488.5 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.01204, allocations: 13.34 kB / 488.5 MB, free: 22.52 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01204, allocations: 0 / 488.5 MB, free: 22.52 MB / 426.7 MB Notification: Performance of Templates: time 0.004377/0.01642, allocations: 1.567 MB / 490.1 MB, free: 22.4 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.5758950039744377]