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.0009183/0.0009183, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009204/0.0009204, allocations: 169 kB / 24.06 MB, free: 456 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 0.9815/0.9815, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.06364/0.06364, allocations: 12.77 MB / 273.8 MB, free: 112 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.513e-06/1.513e-06, allocations: 3.938 kB / 348 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.652e-05, allocations: 2.312 kB / 348 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001954/0.001971, allocations: 1.356 MB / 349.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.002153, allocations: 31.89 kB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.002189, allocations: 3.938 kB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.002219, allocations: 0 / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.002258, allocations: 3.938 kB / 349.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.002396, allocations: 11.97 kB / 349.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.002452, allocations: 8 kB / 349.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.002493, allocations: 7.984 kB / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.002532, allocations: 8 kB / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.002595, allocations: 0 / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.002612, allocations: 0 / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.00262, allocations: 4 kB / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.002639, allocations: 7.922 kB / 349.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.002659, allocations: 3.984 kB / 349.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.834e-05/0.002718, allocations: 11.88 kB / 349.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00272, allocations: 0 / 349.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002721, allocations: 0 / 349.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.002725, allocations: 4 kB / 349.5 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.0003312/0.003056, allocations: 364.1 kB / 349.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.003097, allocations: 11.98 kB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.003123, allocations: 0.9375 kB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.937e-05/0.003192, allocations: 112.6 kB / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.003203, allocations: 384 / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.003219, allocations: 4.719 kB / 350 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.003293, allocations: 38.25 kB / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.0033, allocations: 192 / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003307, allocations: 384 / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.003312, allocations: 384 / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.003334, allocations: 23.84 kB / 350.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.003561, allocations: 224.4 kB / 350.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.003612, allocations: 31.06 kB / 350.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.003632, allocations: 15.81 kB / 350.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.003638, allocations: 0 / 350.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.003661, allocations: 37.33 kB / 350.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.003661, allocations: 0 / 350.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001417/0.003803, allocations: 57.56 kB / 350.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.003839, allocations: 51.41 kB / 350.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.003925, allocations: 165.9 kB / 350.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.003936, allocations: 25.7 kB / 350.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.003985, allocations: 134.8 kB / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.003996, allocations: 7.938 kB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.004032, allocations: 27.36 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.004161, allocations: 492.1 kB / 351.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.004181, allocations: 15.67 kB / 351.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.004219, allocations: 50.42 kB / 351.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.004288, allocations: 70.42 kB / 351.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00429, allocations: 0 / 351.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.873e-05/0.004378, allocations: 69.52 kB / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.004391, allocations: 8 kB / 351.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004396, allocations: 0 / 351.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004405, allocations: 3.938 kB / 351.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.004461, allocations: 20.14 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.004464, allocations: 4 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.004486, allocations: 3.938 kB / 351.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.004493, allocations: 4 kB / 351.5 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.0001142/0.004607, allocations: 164.6 kB / 351.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.004631, allocations: 19.88 kB / 351.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.004651, allocations: 3.688 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.004654, allocations: 3.938 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.004655, allocations: 4 kB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.004659, allocations: 0 / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.004766, allocations: 93.27 kB / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.004767, allocations: 0 / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.004792, allocations: 4 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.004794, allocations: 0 / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.004802, allocations: 3.984 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004803, allocations: 0 / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004803, allocations: 0 / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.004951, allocations: 203.9 kB / 352 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.004957, allocations: 3.938 kB / 352 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.004966, allocations: 4.031 kB / 352 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.005015, allocations: 4.234 kB / 352 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.005028, allocations: 3.938 kB / 352 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.005033, allocations: 3.938 kB / 352 MB, free: 12.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.005073, allocations: 131.2 kB / 352.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005073, allocations: 0 / 352.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.00529, allocations: 8 kB / 352.2 MB, free: 12.39 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.272e-05/0.005363, allocations: 87.25 kB / 352.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.005438, allocations: 39.69 kB / 352.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005439, allocations: 0 / 352.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.00546, allocations: 11.69 kB / 352.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.005652, allocations: 7.984 kB / 352.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.005885, allocations: 114.3 kB / 352.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.005923, allocations: 59.3 kB / 352.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.439e-05/0.005938, allocations: 3.984 kB / 352.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.005975, allocations: 70.2 kB / 352.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005976, allocations: 0 / 352.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of Templates: time 0.002049/0.008024, allocations: 399.5 kB / 353 MB, free: 11.56 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.791039110161364]