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.001381/0.001381, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001686/0.001686, allocations: 165 kB / 23.8 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.126/1.126, allocations: 177.1 MB / 204.2 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.6213/0.6213, allocations: 114.9 MB / 375.7 MB, free: 7.652 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.407e-06/3.407e-06, allocations: 5.812 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.099e-05, allocations: 3.078 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001984/0.002015, allocations: 0.752 MB / 482.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003629, allocations: 1.217 MB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.003694, allocations: 0 / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.003737, allocations: 8.688 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.087e-05/0.003828, allocations: 13.39 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.004372, allocations: 142.8 kB / 483.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.004571, allocations: 120 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004702, allocations: 17.59 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.004852, allocations: 70.97 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.004959, allocations: 38.41 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.004995, allocations: 15.72 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.005083, allocations: 27.98 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.005109, allocations: 10.94 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.00518, allocations: 39.41 kB / 483.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005389, allocations: 113.1 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.005394, allocations: 7.719 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.005396, allocations: 0 / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.005401, allocations: 0 / 484.1 MB, free: 10.27 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.0005217/0.005923, allocations: 435.7 kB / 484.5 MB, free: 9.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.005971, allocations: 9.438 kB / 484.5 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.006106, allocations: 18.73 kB / 484.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.006193, allocations: 116.6 kB / 484.6 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.006212, allocations: 8.688 kB / 484.6 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.006239, allocations: 7.906 kB / 484.6 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.006403, allocations: 74.42 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.006417, allocations: 192 / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.00643, allocations: 5.625 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.006441, allocations: 6.188 kB / 484.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.006494, allocations: 15.94 kB / 484.7 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.00696, allocations: 321.6 kB / 485.1 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007062, allocations: 45 kB / 485.1 MB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.007092, allocations: 23.78 kB / 485.1 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.007114, allocations: 0 / 485.1 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.007232, allocations: 79.91 kB / 485.2 MB, free: 9.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.007234, allocations: 0 / 485.2 MB, free: 9.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002593/0.007493, allocations: 106.7 kB / 485.3 MB, free: 9.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.007523, allocations: 56.66 kB / 485.4 MB, free: 9.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.007612, allocations: 185.2 kB / 485.5 MB, free: 8.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.007632, allocations: 28.39 kB / 485.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.007891, allocations: 140 kB / 485.7 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.007913, allocations: 18.5 kB / 485.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.007982, allocations: 45.89 kB / 485.8 MB, free: 24.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.008129, allocations: 498.8 kB / 486.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.008229, allocations: 66.72 kB / 486.3 MB, free: 24.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.008338, allocations: 116.3 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.008478, allocations: 137.8 kB / 486.6 MB, free: 23.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.008481, allocations: 1.125 kB / 486.6 MB, free: 23.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003102/0.008791, allocations: 222.3 kB / 486.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.00883, allocations: 35.73 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.008837, allocations: 2.344 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.008856, allocations: 2.219 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.008964, allocations: 18.05 kB / 486.9 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.008974, allocations: 7.344 kB / 486.9 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.009101, allocations: 26.86 kB / 486.9 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.009125, allocations: 15.8 kB / 486.9 MB, free: 23.77 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.011e-05/0.009215, allocations: 158.9 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.009234, allocations: 17.11 kB / 487.1 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.009407, allocations: 92.05 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009411, allocations: 1.719 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009414, allocations: 1.438 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.009418, allocations: 0 / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.009666, allocations: 341.5 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009668, allocations: 3.938 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.009715, allocations: 7.047 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.009718, allocations: 7.922 kB / 487.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.009728, allocations: 0.8125 kB / 487.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.00973, allocations: 2.812 kB / 487.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.009733, allocations: 4.422 kB / 487.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.009895, allocations: 235.7 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.009906, allocations: 6.359 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.00992, allocations: 2.281 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.009984, allocations: 9.672 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.01003, allocations: 5.828 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01003, allocations: 3.719 kB / 487.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.01009, allocations: 134.1 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01009, allocations: 3.938 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.01037, allocations: 26.56 kB / 487.9 MB, free: 22.88 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.0001315/0.0105, allocations: 106.9 kB / 488 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.01073, allocations: 169.8 kB / 488.2 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01073, allocations: 0 / 488.2 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.01078, allocations: 24.92 kB / 488.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01106, allocations: 20.97 kB / 488.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.01164, allocations: 179.2 kB / 488.4 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01168, allocations: 61.64 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.01172, allocations: 6.906 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.01175, allocations: 12.28 kB / 488.5 MB, free: 22.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.01175, allocations: 2.219 kB / 488.5 MB, free: 22.42 MB / 426.7 MB Notification: Performance of Templates: time 0.004623/0.01638, allocations: 1.57 MB / 490.1 MB, free: 22.3 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.768502290826291]