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.0006808/0.0006808, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008554/0.001536, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006675/0.0006675, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008623/0.00153, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.058/1.058, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09091/1.149, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.06181/0.06181, allocations: 12.76 MB / 256.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009691/0.0715, allocations: 4.83 MB / 261.7 MB, free: 13.15 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.152e-06/1.152e-06, allocations: 0 / 263.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.3e-05, allocations: 6.25 kB / 263.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.002002/0.002025, allocations: 1.408 MB / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.00217, allocations: 32.56 kB / 264.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.002203, allocations: 4 kB / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.002237, allocations: 0 / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.002264, allocations: 0 / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.779e-05/0.002352, allocations: 19.86 kB / 264.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.002414, allocations: 7.938 kB / 264.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.002456, allocations: 4 kB / 264.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.002498, allocations: 3.984 kB / 264.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.00256, allocations: 7.984 kB / 264.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.002588, allocations: 0 / 264.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.002597, allocations: 3.938 kB / 264.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.002621, allocations: 4 kB / 264.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.002643, allocations: 8 kB / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.344e-05/0.002717, allocations: 11.98 kB / 264.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.002732, allocations: 0 / 264.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.002734, allocations: 0 / 264.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.002743, allocations: 4 kB / 264.6 MB, free: 10.21 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.0003232/0.003067, allocations: 216.7 kB / 264.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003104, allocations: 12.03 kB / 264.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.003132, allocations: 0.9375 kB / 264.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.443e-05/0.003196, allocations: 105.8 kB / 265 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.003207, allocations: 8.297 kB / 265 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.003225, allocations: 12.31 kB / 265 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.365e-05/0.003299, allocations: 38.25 kB / 265 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.003305, allocations: 192 / 265 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.003311, allocations: 384 / 265 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003315, allocations: 384 / 265 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.003331, allocations: 7.938 kB / 265 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.003514, allocations: 148.2 kB / 265.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.003558, allocations: 22.52 kB / 265.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.003573, allocations: 20.98 kB / 265.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.003579, allocations: 0 / 265.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.003602, allocations: 34.56 kB / 265.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.003603, allocations: 0 / 265.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001125/0.003716, allocations: 41.69 kB / 265.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.003759, allocations: 59.28 kB / 265.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.003831, allocations: 106.7 kB / 265.5 MB, free: 9.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.003842, allocations: 25.7 kB / 265.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.003881, allocations: 88.09 kB / 265.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.003895, allocations: 11.89 kB / 265.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.00392, allocations: 17.7 kB / 265.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.004009, allocations: 318.8 kB / 265.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.004032, allocations: 12.98 kB / 265.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.004056, allocations: 32.28 kB / 266 MB, free: 8.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.004102, allocations: 52.22 kB / 266 MB, free: 8.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004105, allocations: 0 / 266 MB, free: 8.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.309e-05/0.004178, allocations: 65.61 kB / 266.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.00419, allocations: 4 kB / 266.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.004196, allocations: 4.188 kB / 266.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.004208, allocations: 0 / 266.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.004268, allocations: 23.88 kB / 266.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.004272, allocations: 0 / 266.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.004291, allocations: 11.94 kB / 266.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.004295, allocations: 0 / 266.1 MB, free: 8.547 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 0.0001143/0.004409, allocations: 118.5 kB / 266.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.00443, allocations: 4.062 kB / 266.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.004456, allocations: 11.69 kB / 266.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004459, allocations: 0 / 266.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004462, allocations: 7.875 kB / 266.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.004467, allocations: 3.984 kB / 266.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.435e-05/0.004551, allocations: 69.83 kB / 266.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.004552, allocations: 0 / 266.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.004592, allocations: 4 kB / 266.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.004599, allocations: 0 / 266.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.004601, allocations: 0 / 266.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.004611, allocations: 8 kB / 266.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.004612, allocations: 0 / 266.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.004615, allocations: 7.922 kB / 266.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.004734, allocations: 135.5 kB / 266.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.004743, allocations: 0 / 266.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.004782, allocations: 4 kB / 266.5 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.004795, allocations: 7.984 kB / 266.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.004801, allocations: 0 / 266.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.305e-05/0.004815, allocations: 12.8 kB / 266.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004815, allocations: 0 / 266.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.004937, allocations: 8.125 kB / 266.5 MB, free: 8.102 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 8.678e-05/0.005024, allocations: 76.41 kB / 266.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.005096, allocations: 28.73 kB / 266.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.005101, allocations: 0 / 266.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.005121, allocations: 20.83 kB / 266.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.005227, allocations: 4 kB / 266.6 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.0055, allocations: 120.9 kB / 266.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.005533, allocations: 58.48 kB / 266.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.005546, allocations: 4 kB / 266.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.005586, allocations: 51.38 kB / 266.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.005587, allocations: 0 / 266.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of Templates: time 0.001917/0.007504, allocations: 371.5 kB / 267.2 MB, free: 7.332 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.4408880909904838]