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.001978/0.001978, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002377/0.002377, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.743/1.743, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.09682/0.09682, allocations: 12.74 MB / 271.9 MB, free: 500 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.463e-06/1.463e-06, allocations: 0 / 403.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.173e-05, allocations: 2.281 kB / 403.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.002696/0.002728, allocations: 1.324 MB / 404.5 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001832/0.002911, allocations: 39.77 kB / 404.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.002943, allocations: 0 / 404.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.002971, allocations: 4 kB / 404.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.002998, allocations: 0 / 404.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.00313, allocations: 3.938 kB / 404.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.003188, allocations: 19.86 kB / 404.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.003235, allocations: 8 kB / 404.6 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.003274, allocations: 7.984 kB / 404.6 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.00333, allocations: 3.984 kB / 404.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.003359, allocations: 0 / 404.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.003368, allocations: 0 / 404.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.003384, allocations: 4 kB / 404.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.00341, allocations: 0 / 404.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.414e-05/0.003474, allocations: 11.98 kB / 404.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003476, allocations: 0 / 404.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003477, allocations: 7.938 kB / 404.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.003481, allocations: 0 / 404.6 MB, free: 6.539 MB / 330.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.0004145/0.003895, allocations: 251.3 kB / 404.9 MB, free: 6.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.00394, allocations: 15.98 kB / 404.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.003973, allocations: 4.891 kB / 404.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.004345, allocations: 105.8 kB / 405 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.004362, allocations: 4.375 kB / 405 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.00438, allocations: 384 / 405 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.00449, allocations: 42.25 kB / 405.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004499, allocations: 192 / 405.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.004508, allocations: 4.312 kB / 405.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004512, allocations: 4.375 kB / 405.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.004546, allocations: 7.938 kB / 405.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.004863, allocations: 192.6 kB / 405.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.004935, allocations: 22.58 kB / 405.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.004958, allocations: 8.859 kB / 405.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.004969, allocations: 3.984 kB / 405.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.005009, allocations: 34.5 kB / 405.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.00501, allocations: 4 kB / 405.3 MB, free: 5.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000194/0.005204, allocations: 53.7 kB / 405.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.005275, allocations: 59.41 kB / 405.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.00538, allocations: 105.8 kB / 405.5 MB, free: 5.488 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.005402, allocations: 25.7 kB / 405.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.005458, allocations: 84.09 kB / 405.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.005477, allocations: 11.95 kB / 405.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.005513, allocations: 17.72 kB / 405.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.005694, allocations: 314.8 kB / 406 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.005727, allocations: 12.86 kB / 406 MB, free: 5.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.00578, allocations: 36.23 kB / 406 MB, free: 4.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.005895, allocations: 68.3 kB / 406.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.005899, allocations: 4 kB / 406.1 MB, free: 4.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001214/0.006021, allocations: 69.56 kB / 406.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.006035, allocations: 7.938 kB / 406.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.006043, allocations: 4.094 kB / 406.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.006058, allocations: 8 kB / 406.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.006123, allocations: 8 kB / 406.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.006131, allocations: 8 kB / 406.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.00616, allocations: 0 / 406.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.006172, allocations: 11.98 kB / 406.2 MB, free: 4.746 MB / 330.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.000153/0.006325, allocations: 117.8 kB / 406.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.006351, allocations: 8 kB / 406.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.006377, allocations: 11.56 kB / 406.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.006378, allocations: 4 kB / 406.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006382, allocations: 0 / 406.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.006387, allocations: 3.984 kB / 406.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.006526, allocations: 101.3 kB / 406.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006527, allocations: 0 / 406.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.006564, allocations: 4 kB / 406.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006566, allocations: 0 / 406.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.006573, allocations: 0 / 406.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.006576, allocations: 3.938 kB / 406.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.00658, allocations: 3.984 kB / 406.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.006771, allocations: 147.5 kB / 406.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.006779, allocations: 4 kB / 406.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.006796, allocations: 8.016 kB / 406.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.04e-05/0.006847, allocations: 3.938 kB / 406.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.00686, allocations: 0 / 406.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.006865, allocations: 0 / 406.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.006918, allocations: 83.22 kB / 406.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006918, allocations: 0 / 406.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.007145, allocations: 4 kB / 406.7 MB, free: 4.191 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (accumulated) * Number of discrete variables: 2 (t,y) * Number of discrete states: 1 (t) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * 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.0001186/0.007264, allocations: 107.3 kB / 406.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.007354, allocations: 23.92 kB / 406.9 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.007358, allocations: 4 kB / 406.9 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.031e-05/0.007378, allocations: 4 kB / 406.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.007575, allocations: 0 / 406.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.007885, allocations: 113.1 kB / 407 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.029e-05/0.007955, allocations: 63.34 kB / 407 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.007969, allocations: 7.844 kB / 407 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.008002, allocations: 12.81 kB / 407.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008003, allocations: 7.938 kB / 407.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of Templates: time 0.0029/0.0109, allocations: 349.3 kB / 407.4 MB, free: 3.465 MB / 330.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: 5.469519658945501]