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.001032/0.001032, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001621/0.001621, allocations: 170 kB / 23.27 MB, free: 1.223 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.036/1.036, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.06045/0.06045, allocations: 12.76 MB / 273 MB, free: 116 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.793e-06/1.793e-06, allocations: 0 / 347.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.193e-05, allocations: 2.312 kB / 347.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001769/0.001791, allocations: 1.356 MB / 348.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.001958, allocations: 31.83 kB / 348.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.00199, allocations: 4 kB / 348.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.002016, allocations: 3.938 kB / 348.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.097e-05/0.002047, allocations: 0 / 348.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.002158, allocations: 7.984 kB / 348.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.246e-05/0.002201, allocations: 8 kB / 348.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.002237, allocations: 4 kB / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.002274, allocations: 7.969 kB / 348.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.002335, allocations: 7.938 kB / 348.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.002349, allocations: 0 / 348.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.002356, allocations: 0 / 348.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.002373, allocations: 8 kB / 348.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.002394, allocations: 4 kB / 348.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.608e-05/0.00245, allocations: 15.86 kB / 348.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002452, allocations: 0 / 348.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.002453, allocations: 0 / 348.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.002457, allocations: 0 / 348.7 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.0002925/0.002749, allocations: 356.1 kB / 349.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.002784, allocations: 11.98 kB / 349.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.002809, allocations: 4.938 kB / 349.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.216e-05/0.002871, allocations: 112.5 kB / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.002882, allocations: 4.375 kB / 349.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.002895, allocations: 4.719 kB / 349.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.549e-05/0.00296, allocations: 38.25 kB / 349.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.002967, allocations: 192 / 349.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002973, allocations: 384 / 349.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.002978, allocations: 4.312 kB / 349.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.616e-05/0.002994, allocations: 19.86 kB / 349.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.00318, allocations: 224.4 kB / 349.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.003219, allocations: 31.06 kB / 349.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.07e-05/0.00323, allocations: 7.688 kB / 349.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.003236, allocations: 4 kB / 349.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.003261, allocations: 45.47 kB / 349.6 MB, free: 14.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.003262, allocations: 0 / 349.6 MB, free: 14.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001234/0.003385, allocations: 53.56 kB / 349.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.003414, allocations: 51.41 kB / 349.7 MB, free: 14.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.003487, allocations: 165.9 kB / 349.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.003497, allocations: 25.7 kB / 349.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.003535, allocations: 130.8 kB / 350 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.003544, allocations: 7.953 kB / 350 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.003571, allocations: 27.36 kB / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.00368, allocations: 496.2 kB / 350.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.003698, allocations: 15.69 kB / 350.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.003729, allocations: 54.47 kB / 350.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.003789, allocations: 66.31 kB / 350.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.003791, allocations: 0 / 350.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.199e-05/0.003863, allocations: 73.52 kB / 350.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.003874, allocations: 4 kB / 350.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.003878, allocations: 192 / 350.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.00389, allocations: 7.938 kB / 350.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/0.003938, allocations: 11.98 kB / 350.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.003942, allocations: 4 kB / 350.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.003959, allocations: 11.92 kB / 350.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.003964, allocations: 4 kB / 350.8 MB, free: 13.1 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.0001033/0.004067, allocations: 160.7 kB / 350.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.004082, allocations: 7.891 kB / 350.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.004104, allocations: 7.688 kB / 350.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.004106, allocations: 7.938 kB / 350.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.004109, allocations: 3.984 kB / 350.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.004112, allocations: 0 / 350.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.06e-05/0.004202, allocations: 97.25 kB / 351 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.004203, allocations: 0 / 351 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.004232, allocations: 3.938 kB / 351 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.004234, allocations: 0 / 351 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.00424, allocations: 4 kB / 351 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.004241, allocations: 4 kB / 351 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.004242, allocations: 3.984 kB / 351.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.004365, allocations: 195.9 kB / 351.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.004372, allocations: 4 kB / 351.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.004382, allocations: 3.984 kB / 351.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.004414, allocations: 0 / 351.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.004423, allocations: 0 / 351.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.004428, allocations: 11.88 kB / 351.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.931e-05/0.004457, allocations: 119.2 kB / 351.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004457, allocations: 4.125 kB / 351.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000145/0.004602, allocations: 4 kB / 351.4 MB, free: 12.41 MB / 282.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 7.546e-05/0.004678, allocations: 99.23 kB / 351.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.989e-05/0.004748, allocations: 27.61 kB / 351.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.004749, allocations: 0 / 351.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.004766, allocations: 11.69 kB / 351.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.004902, allocations: 4 kB / 351.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.005128, allocations: 126.6 kB / 351.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.005162, allocations: 63.3 kB / 351.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.294e-05/0.005175, allocations: 0 / 351.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.00521, allocations: 70.2 kB / 351.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.005211, allocations: 0 / 351.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of Templates: time 0.001806/0.007017, allocations: 408.2 kB / 352.2 MB, free: 11.55 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.7999037238769233]