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.001955/0.001955, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002109/0.002109, allocations: 208.4 kB / 22.25 MB, free: 3.57 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 1.86/1.86, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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.1048/0.1048, allocations: 17.16 MB / 329.6 MB, free: 0.707 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003873/0.003873, allocations: 71.89 kB / 460.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1253, allocations: 57.77 MB / 0.5064 GB, free: 436 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.003482/0.1288, allocations: 1.319 MB / 0.5077 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002264/0.129, allocations: 35.89 kB / 0.5077 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.129, allocations: 3.938 kB / 0.5077 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.1291, allocations: 0 / 0.5077 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.1291, allocations: 4 kB / 0.5077 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.1293, allocations: 8 kB / 0.5077 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.706e-05/0.1293, allocations: 15.86 kB / 0.5077 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.1294, allocations: 0 / 0.5077 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.1294, allocations: 4 kB / 0.5077 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.1295, allocations: 7.969 kB / 0.5078 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1295, allocations: 0 / 0.5078 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.1295, allocations: 4 kB / 0.5078 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1295, allocations: 7.938 kB / 0.5078 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.1295, allocations: 0 / 0.5078 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.227e-05/0.1296, allocations: 15.86 kB / 0.5078 GB, free: 14.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1296, allocations: 4 kB / 0.5078 GB, free: 14.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1296, allocations: 0 / 0.5078 GB, free: 14.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1296, allocations: 0 / 0.5078 GB, free: 14.99 MB / 378.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.0005384/0.1302, allocations: 251.3 kB / 0.508 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1302, allocations: 12.03 kB / 0.508 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1303, allocations: 0.9375 kB / 0.508 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1304, allocations: 114.5 kB / 0.5081 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1304, allocations: 384 / 0.5081 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1305, allocations: 4.375 kB / 0.5081 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1306, allocations: 46.17 kB / 0.5082 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1306, allocations: 4.188 kB / 0.5082 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1306, allocations: 3.938 kB / 0.5082 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1306, allocations: 0 / 0.5082 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.1307, allocations: 8 kB / 0.5082 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.131, allocations: 184.6 kB / 0.5084 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.1311, allocations: 22.61 kB / 0.5084 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.1312, allocations: 14.02 kB / 0.5084 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1312, allocations: 7.875 kB / 0.5084 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.1312, allocations: 34.56 kB / 0.5085 GB, free: 14.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.1312, allocations: 3.938 kB / 0.5085 GB, free: 14.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002493/0.1315, allocations: 57.77 kB / 0.5085 GB, free: 14.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1315, allocations: 51.41 kB / 0.5086 GB, free: 14.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1317, allocations: 101.8 kB / 0.5087 GB, free: 13.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1317, allocations: 25.7 kB / 0.5087 GB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.1318, allocations: 84.12 kB / 0.5088 GB, free: 13.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1318, allocations: 15.89 kB / 0.5088 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.1318, allocations: 17.72 kB / 0.5088 GB, free: 13.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003404/0.1322, allocations: 314.8 kB / 0.5091 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.1322, allocations: 16.78 kB / 0.5091 GB, free: 13.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.1323, allocations: 36.3 kB / 0.5092 GB, free: 13.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.1324, allocations: 68.34 kB / 0.5092 GB, free: 13.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1324, allocations: 0 / 0.5092 GB, free: 13.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.1326, allocations: 73.5 kB / 0.5093 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1326, allocations: 4.156 kB / 0.5093 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1326, allocations: 11.94 kB / 0.5093 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1326, allocations: 0 / 0.5093 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.1327, allocations: 8 kB / 0.5093 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1327, allocations: 0 / 0.5093 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1328, allocations: 15.95 kB / 0.5093 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1328, allocations: 0 / 0.5093 GB, free: 13.2 MB / 378.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.0001757/0.133, allocations: 121.8 kB / 0.5094 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.133, allocations: 7.938 kB / 0.5094 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.133, allocations: 7.688 kB / 0.5095 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.133, allocations: 0 / 0.5095 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.133, allocations: 0 / 0.5095 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.133, allocations: 0 / 0.5095 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1332, allocations: 105.5 kB / 0.5096 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1332, allocations: 0 / 0.5096 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.1333, allocations: 4 kB / 0.5096 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.1333, allocations: 7.922 kB / 0.5096 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1333, allocations: 0 / 0.5096 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1333, allocations: 0 / 0.5096 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1333, allocations: 0 / 0.5096 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1335, allocations: 151.5 kB / 0.5097 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.1335, allocations: 15.86 kB / 0.5097 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1336, allocations: 0 / 0.5097 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.1336, allocations: 4 kB / 0.5097 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1337, allocations: 3.984 kB / 0.5097 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.1337, allocations: 7.938 kB / 0.5097 GB, free: 12.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.877e-05/0.1337, allocations: 75.28 kB / 0.5098 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 0 / 0.5098 GB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.1341, allocations: 4 kB / 0.5098 GB, free: 12.64 MB / 378.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 0.0001445/0.1343, allocations: 103.3 kB / 0.5099 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1344, allocations: 23.94 kB / 0.5099 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1344, allocations: 0 / 0.5099 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.1344, allocations: 11.98 kB / 0.5099 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1348, allocations: 0 / 0.5099 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1352, allocations: 113.6 kB / 0.5101 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.1353, allocations: 63.28 kB / 0.5101 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.1353, allocations: 4 kB / 0.5101 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1353, allocations: 11.75 kB / 0.5101 GB, free: 12.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1353, allocations: 0 / 0.5101 GB, free: 12.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003587/0.1389, allocations: 345.8 kB / 0.5105 GB, free: 11.92 MB / 378.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: 5.536379455123097]