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.0008589/0.0008589, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003873/0.004732, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009313/0.0009313, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001871/0.002802, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9955/0.9955, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08615/1.082, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.05749/0.05749, allocations: 12.74 MB / 256.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01163/0.06912, allocations: 4.828 MB / 261.5 MB, free: 13.24 MB / 266.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.653e-06/1.653e-06, allocations: 0 / 262.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.806e-05, allocations: 9.906 kB / 262.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.002879/0.002907, allocations: 1.404 MB / 264.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.00301, allocations: 35.89 kB / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.003035, allocations: 0 / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.003058, allocations: 3.938 kB / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.795e-05/0.003076, allocations: 0 / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.354e-05/0.00315, allocations: 7.938 kB / 264.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.003205, allocations: 11.94 kB / 264.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.00325, allocations: 3.984 kB / 264.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.003306, allocations: 4.75 kB / 264.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.003385, allocations: 7.984 kB / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003409, allocations: 0 / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.003419, allocations: 3.938 kB / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.00344, allocations: 11.98 kB / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.003469, allocations: 0 / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.584e-05/0.003545, allocations: 7.938 kB / 264.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.003562, allocations: 0 / 264.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003563, allocations: 0 / 264.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.003581, allocations: 0 / 264.4 MB, free: 10.35 MB / 266.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.0004152/0.003996, allocations: 224.7 kB / 264.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.004036, allocations: 8.031 kB / 264.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.004075, allocations: 8.922 kB / 264.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.004158, allocations: 101.8 kB / 264.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.004172, allocations: 8.375 kB / 264.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.004193, allocations: 12.3 kB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.004286, allocations: 38.25 kB / 264.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.004295, allocations: 192 / 264.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.004302, allocations: 4.359 kB / 264.8 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.004309, allocations: 384 / 264.8 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.004333, allocations: 11.88 kB / 264.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.004533, allocations: 152.3 kB / 265 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.004586, allocations: 18.58 kB / 265 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.004599, allocations: 8.859 kB / 265 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.004607, allocations: 0 / 265 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.004632, allocations: 34.56 kB / 265 MB, free: 9.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.004633, allocations: 0 / 265 MB, free: 9.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001303/0.004764, allocations: 49.72 kB / 265.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.004812, allocations: 59.33 kB / 265.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.004885, allocations: 106.7 kB / 265.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.004898, allocations: 25.7 kB / 265.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.004936, allocations: 84.09 kB / 265.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.004953, allocations: 11.89 kB / 265.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.00499, allocations: 25.69 kB / 265.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.005082, allocations: 311 kB / 265.7 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.005103, allocations: 12.86 kB / 265.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.005135, allocations: 40.27 kB / 265.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.813e-05/0.005203, allocations: 56.16 kB / 265.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005206, allocations: 0 / 265.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.791e-05/0.005293, allocations: 61.56 kB / 265.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.005308, allocations: 4 kB / 265.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005314, allocations: 0 / 265.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.005325, allocations: 4 kB / 265.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.005389, allocations: 15.92 kB / 265.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.005394, allocations: 4 kB / 265.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.005422, allocations: 3.953 kB / 265.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.005429, allocations: 4 kB / 265.9 MB, free: 8.68 MB / 266.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.0001304/0.00556, allocations: 122.6 kB / 266 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.005584, allocations: 3.984 kB / 266 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.00561, allocations: 11.62 kB / 266 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005611, allocations: 0 / 266 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.005614, allocations: 7.875 kB / 266 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005618, allocations: 0 / 266 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.005732, allocations: 65.84 kB / 266.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.005734, allocations: 0 / 266.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.005776, allocations: 192 / 266.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.005785, allocations: 11.98 kB / 266.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.005789, allocations: 7.984 kB / 266.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.005799, allocations: 8.062 kB / 266.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0058, allocations: 0 / 266.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.005803, allocations: 3.938 kB / 266.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.005992, allocations: 139.5 kB / 266.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.006005, allocations: 0 / 266.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.006069, allocations: 0 / 266.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.006081, allocations: 0 / 266.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.006088, allocations: 4 kB / 266.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.1e-05/0.006099, allocations: 12.73 kB / 266.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006099, allocations: 4.125 kB / 266.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.00632, allocations: 8 kB / 266.3 MB, free: 8.23 MB / 266.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 (y,t) * 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 8.447e-05/0.006405, allocations: 76.41 kB / 266.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.006486, allocations: 28.77 kB / 266.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.006492, allocations: 4 kB / 266.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.885e-05/0.006511, allocations: 8.859 kB / 266.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.006661, allocations: 4 kB / 266.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.006938, allocations: 120.7 kB / 266.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.006976, allocations: 59.36 kB / 266.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.538e-05/0.006991, allocations: 0 / 266.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.007025, allocations: 51.38 kB / 266.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.007026, allocations: 0 / 266.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of Templates: time 0.002398/0.009424, allocations: 401.4 kB / 267 MB, free: 7.434 MB / 266.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.521789586171508]