Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.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.0008383/0.0008383, allocations: 77.95 kB / 20.66 MB, free: 3.836 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.000872/0.000872, allocations: 165 kB / 24.06 MB, free: 452 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 0.8702/0.8702, allocations: 177.1 MB / 204.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05195/0.05195, allocations: 12.75 MB / 273.8 MB, free: 140 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Blocks.Signals.Components.AccumulatedResetValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue") translateModel(Bodylight.Blocks.Signals.Components.AccumulatedResetValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 348.1 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.445e-05, allocations: 5.406 kB / 348.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.002078/0.002092, allocations: 1.357 MB / 349.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.002251, allocations: 31.89 kB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.002281, allocations: 0 / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.002312, allocations: 0 / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.002344, allocations: 0 / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.002459, allocations: 15.91 kB / 349.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.002509, allocations: 12 kB / 349.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.002547, allocations: 0 / 349.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.002586, allocations: 11.92 kB / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.00264, allocations: 4 kB / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002657, allocations: 0 / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.002664, allocations: 4 kB / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.002681, allocations: 3.984 kB / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.002698, allocations: 0 / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.364e-05/0.002752, allocations: 11.92 kB / 349.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002754, allocations: 0 / 349.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002754, allocations: 0 / 349.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.002758, allocations: 4 kB / 349.5 MB, free: 15.38 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003227/0.00308, allocations: 360.1 kB / 349.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.003117, allocations: 11.98 kB / 349.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.003144, allocations: 8.859 kB / 349.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.003213, allocations: 112.6 kB / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003222, allocations: 4.312 kB / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.003241, allocations: 4.719 kB / 350 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.869e-05/0.00331, allocations: 38.25 kB / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00332, allocations: 192 / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003327, allocations: 384 / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.003332, allocations: 384 / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.003354, allocations: 15.92 kB / 350.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.003573, allocations: 224.4 kB / 350.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.00362, allocations: 35 kB / 350.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.003633, allocations: 7.688 kB / 350.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.003641, allocations: 4 kB / 350.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.003665, allocations: 37.47 kB / 350.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003666, allocations: 0 / 350.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.003808, allocations: 53.62 kB / 350.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.003839, allocations: 55.34 kB / 350.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.003922, allocations: 165.9 kB / 350.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.003932, allocations: 25.7 kB / 350.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.003978, allocations: 130.8 kB / 350.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.00399, allocations: 11.94 kB / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.004023, allocations: 27.36 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.004161, allocations: 492.1 kB / 351.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.004183, allocations: 15.67 kB / 351.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.004222, allocations: 50.42 kB / 351.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.004289, allocations: 66.48 kB / 351.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004291, allocations: 0 / 351.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.356e-05/0.004385, allocations: 69.52 kB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.004398, allocations: 4 kB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.004404, allocations: 4 kB / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.004416, allocations: 0 / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.004475, allocations: 28.02 kB / 351.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.004481, allocations: 4 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.004506, allocations: 3.938 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.004512, allocations: 4 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: accumulated:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) type: Real t:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real y:DISCRETE(flow=false fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t,t,$PRE.y,y,reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001177/0.00463, allocations: 160.6 kB / 351.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.004658, allocations: 15.89 kB / 351.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.004678, allocations: 3.875 kB / 351.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.004684, allocations: 7.969 kB / 351.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.004686, allocations: 7.938 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.004693, allocations: 0 / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.004707, allocations: 4 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.004759, allocations: 0 / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.00477, allocations: 0 / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001411/0.004911, allocations: 172.8 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001803/0.005091, allocations: 315 kB / 352.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.22e-05/0.005114, allocations: 15.69 kB / 352.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.005153, allocations: 123.2 kB / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of Backend: time 2.4e-07/0.005153, allocations: 128 / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.005469, allocations: 104.9 kB / 352.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of SimCode: time 0.0004089/0.005878, allocations: 0.8413 MB / 353.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of Templates: time 0.001969/0.007846, allocations: 411 kB / 353.7 MB, free: 10.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.sim & ./Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.341171777807176]