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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002341/0.0002341, allocations: 0 / 0, free: 0 / 0 " [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.00019/0.00019, allocations: 0 / 0, free: 0 / 0 " [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.1089/0.1089, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.005006/0.005006, allocations: 0 / 0, free: 0 / 0 " [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: simulate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue,startTime=0,stopTime=15,tolerance=1e-05,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue,startTime=0,stopTime=15,tolerance=1e-05,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.682e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/3.028e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001787/0.001817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0001618/0.001979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.002007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.002023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.492e-05/0.002037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 6.904e-05/0.002107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 3.637e-05/0.002143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.232e-05/0.002165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.002194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.314e-05/0.002228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.002237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 4.949e-06/0.002242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.002256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.00227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 3.05e-05/0.002301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.002308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.713e-06/0.002309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.51e-06/0.002315, allocations: 0 / 0, free: 0 / 0 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.0002754/0.00259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.002643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.002679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 5.065e-05/0.002729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.002744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.002761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/0.00285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.002857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.002869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-06/0.002871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.002888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.003054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.003095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.00311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.003114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.003132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.003135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3): time 9.335e-05/0.003229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.003252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.704e-05/0.003279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.003296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.849e-05/0.003315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.003329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.003352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.622e-05/0.003368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.003378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.003395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.003433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7) (initialization): time 7.302e-05/0.003508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.003519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.003523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.003536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.015e-05/0.003576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.003582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.003609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.003615, allocations: 0 / 0, free: 0 / 0 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 8.241e-05/0.003697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.003715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.003741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.003743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.003748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.003752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.003971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.003973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.004001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.004003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.004013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.004014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.004016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.004114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.004126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.004156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.004217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.004231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.00424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 8.526e-06/0.004249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.62e-07/0.00425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003573/0.004607, allocations: 0 / 0, free: 0 / 0 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.148e-05/0.004689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 6.927e-05/0.004758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.004762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.004781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.005083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.00535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.436e-05/0.005375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.461e-05/0.005389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.005424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.681e-05/0.005441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0003996/0.00584, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.6819282337091863]