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.001066/0.001066, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009739/0.0009739, allocations: 173 kB / 23.02 MB, free: 1.547 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.153/1.153, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.055/0.055, allocations: 12.75 MB / 272.7 MB, free: 280 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.693e-06/1.693e-06, allocations: 0 / 346.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.765e-05, allocations: 2.312 kB / 346.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001913/0.00193, allocations: 1.364 MB / 348.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001786/0.002109, allocations: 39.83 kB / 348.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.00214, allocations: 0 / 348.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.002175, allocations: 0 / 348.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.002208, allocations: 3.938 kB / 348.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002341, allocations: 11.92 kB / 348.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.002404, allocations: 8 kB / 348.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.002443, allocations: 0 / 348.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.002484, allocations: 15.97 kB / 348.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.002544, allocations: 0 / 348.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.002565, allocations: 0 / 348.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.002574, allocations: 7.938 kB / 348.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.002593, allocations: 0 / 348.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.002621, allocations: 3.984 kB / 348.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.522e-05/0.002686, allocations: 7.938 kB / 348.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002688, allocations: 0 / 348.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002689, allocations: 4 kB / 348.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.002694, allocations: 0 / 348.3 MB, free: 0.5547 MB / 314.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.0003933/0.003087, allocations: 356.1 kB / 348.6 MB, free: 168 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.003128, allocations: 15.98 kB / 348.6 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.003173, allocations: 9.234 kB / 348.6 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.003247, allocations: 112.6 kB / 348.8 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.003259, allocations: 384 / 348.8 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.003276, allocations: 4.375 kB / 348.8 MB, free: 0 / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.003386, allocations: 38.25 kB / 348.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.003394, allocations: 192 / 348.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.003405, allocations: 8.312 kB / 348.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.003413, allocations: 4.375 kB / 348.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.003433, allocations: 7.922 kB / 348.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.003702, allocations: 243.8 kB / 349.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.003756, allocations: 27.06 kB / 349.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.003776, allocations: 15.81 kB / 349.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.003782, allocations: 3.938 kB / 349.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.003811, allocations: 45.33 kB / 349.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.003812, allocations: 0 / 349.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001668/0.003979, allocations: 45.62 kB / 349.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.004023, allocations: 63.39 kB / 349.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.004104, allocations: 157.9 kB / 349.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.004117, allocations: 25.7 kB / 349.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.004158, allocations: 130.8 kB / 349.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.00417, allocations: 7.953 kB / 349.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.004208, allocations: 31.36 kB / 349.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.004327, allocations: 492.1 kB / 350.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.004353, allocations: 19.61 kB / 350.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.004389, allocations: 46.44 kB / 350.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.004462, allocations: 74.45 kB / 350.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.004465, allocations: 0 / 350.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.804e-05/0.004553, allocations: 69.56 kB / 350.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.004567, allocations: 11.98 kB / 350.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.004574, allocations: 4.094 kB / 350.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.004588, allocations: 8 kB / 350.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.004649, allocations: 8 kB / 350.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.004655, allocations: 0 / 350.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.004679, allocations: 7.938 kB / 350.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.004687, allocations: 4 kB / 350.3 MB, free: 14.25 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.0001171/0.004804, allocations: 172.5 kB / 350.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.004824, allocations: 192 / 350.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.004847, allocations: 11.61 kB / 350.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.004852, allocations: 8 kB / 350.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.004855, allocations: 0 / 350.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.004859, allocations: 0 / 350.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.004966, allocations: 108.6 kB / 350.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.004968, allocations: 8.062 kB / 350.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.004999, allocations: 0 / 350.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005, allocations: 0 / 350.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.005013, allocations: 4 kB / 350.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.005015, allocations: 3.938 kB / 350.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005016, allocations: 4 kB / 350.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.005157, allocations: 207.8 kB / 350.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.005164, allocations: 4 kB / 350.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005175, allocations: 0 / 350.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.005221, allocations: 3.938 kB / 350.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.005238, allocations: 3.984 kB / 350.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.005243, allocations: 4 kB / 350.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.005281, allocations: 119.2 kB / 351 MB, free: 13.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005281, allocations: 0 / 351 MB, free: 13.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00017/0.005451, allocations: 12 kB / 351 MB, free: 13.52 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 6.079e-05/0.005511, allocations: 91.38 kB / 351.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.005596, allocations: 31.61 kB / 351.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005597, allocations: 4 kB / 351.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.005617, allocations: 15.67 kB / 351.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.005753, allocations: 0 / 351.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.006003, allocations: 118.4 kB / 351.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.006039, allocations: 62.72 kB / 351.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.184e-05/0.006051, allocations: 3.938 kB / 351.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.006071, allocations: 12.81 kB / 351.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.006073, allocations: 4 kB / 351.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of Templates: time 0.002086/0.008159, allocations: 371.5 kB / 351.7 MB, free: 12.77 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: 3.1800413518212736]