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.001189/0.001189, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001631/0.001631, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.017/1.017, allocations: 177.2 MB / 204.7 MB, free: 5.133 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.06646/0.06646, allocations: 12.75 MB / 273.9 MB, free: 15.96 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.523e-06/1.523e-06, allocations: 0 / 295 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.157e-05, allocations: 3.156 kB / 295 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.002046/0.002068, allocations: 1.402 MB / 296.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001742/0.002242, allocations: 28.69 kB / 296.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.002273, allocations: 0 / 296.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.002316, allocations: 0 / 296.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.002352, allocations: 5.125 kB / 296.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.002478, allocations: 16.3 kB / 296.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.002528, allocations: 14.42 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.002565, allocations: 2.719 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.0026, allocations: 4.094 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.002657, allocations: 3.375 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.00267, allocations: 1.5 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.002678, allocations: 0 / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.002695, allocations: 10.08 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.002712, allocations: 2.062 kB / 296.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.432e-05/0.002766, allocations: 9.812 kB / 296.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002769, allocations: 0.5625 kB / 296.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00277, allocations: 0 / 296.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.002773, allocations: 5.312 kB / 296.5 MB, free: 10.69 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.0002264/0.003, allocations: 221.8 kB / 296.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.003034, allocations: 14.53 kB / 296.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.003056, allocations: 3.859 kB / 296.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.967e-05/0.003096, allocations: 108.1 kB / 296.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003105, allocations: 1.406 kB / 296.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.003121, allocations: 7 kB / 296.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.261e-05/0.003184, allocations: 37.17 kB / 296.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.00319, allocations: 1.25 kB / 296.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.003196, allocations: 1.172 kB / 296.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003201, allocations: 5.469 kB / 296.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.003216, allocations: 12.72 kB / 296.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.003364, allocations: 145.9 kB / 297.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.579e-05/0.003399, allocations: 25.33 kB / 297.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-06/0.003409, allocations: 7.766 kB / 297.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.003414, allocations: 1.188 kB / 297.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.00343, allocations: 32.28 kB / 297.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.003431, allocations: 1.062 kB / 297.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001034/0.003534, allocations: 47.45 kB / 297.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.003563, allocations: 57.66 kB / 297.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.003606, allocations: 108.8 kB / 297.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.003612, allocations: 29.64 kB / 297.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.003633, allocations: 86.16 kB / 297.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.003641, allocations: 9.797 kB / 297.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.003666, allocations: 24.94 kB / 297.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.003696, allocations: 313.5 kB / 297.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.003712, allocations: 12.78 kB / 297.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.003732, allocations: 33.67 kB / 297.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.003797, allocations: 55.44 kB / 297.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.003799, allocations: 1.094 kB / 297.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.747e-05/0.003856, allocations: 58.22 kB / 297.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.003868, allocations: 8.188 kB / 297.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.003873, allocations: 1.188 kB / 297.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.003882, allocations: 5.875 kB / 298 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.003939, allocations: 20.36 kB / 298 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.003942, allocations: 1.156 kB / 298 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.003961, allocations: 6.922 kB / 298 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.003967, allocations: 6.25 kB / 298 MB, free: 9.211 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 9.014e-05/0.004057, allocations: 117 kB / 298.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.004076, allocations: 1.859 kB / 298.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.004101, allocations: 5.703 kB / 298.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.004104, allocations: 4 kB / 298.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.004107, allocations: 5.891 kB / 298.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.004111, allocations: 0 / 298.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.528e-05/0.004196, allocations: 62.52 kB / 298.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.004198, allocations: 4 kB / 298.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.004237, allocations: 2.984 kB / 298.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.004239, allocations: 1.156 kB / 298.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.00425, allocations: 4.656 kB / 298.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.004253, allocations: 7.688 kB / 298.2 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.004255, allocations: 0 / 298.2 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.28e-05/0.004348, allocations: 139.2 kB / 298.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.004354, allocations: 10.22 kB / 298.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.004363, allocations: 1.719 kB / 298.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.004395, allocations: 1.906 kB / 298.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.004405, allocations: 6.328 kB / 298.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.00441, allocations: 1.984 kB / 298.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.686e-06/0.004419, allocations: 13.98 kB / 298.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004419, allocations: 0 / 298.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00012/0.004539, allocations: 10.27 kB / 298.4 MB, free: 8.836 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 5.617e-05/0.004595, allocations: 76.73 kB / 298.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.409e-05/0.004659, allocations: 28.64 kB / 298.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.004662, allocations: 1.125 kB / 298.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/0.004679, allocations: 14.39 kB / 298.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.847e-05/0.004767, allocations: 2.5 kB / 298.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.004987, allocations: 111.4 kB / 298.6 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.086e-05/0.005008, allocations: 55.11 kB / 298.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.461e-05/0.005023, allocations: 3.578 kB / 298.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.005048, allocations: 51.06 kB / 298.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.005048, allocations: 4 kB / 298.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of Templates: time 0.002164/0.007213, allocations: 398.8 kB / 299.1 MB, free: 8.457 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.763335526920855]