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.001092/0.001092, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.00186/0.00186, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.05342/0.05342, allocations: 12.76 MB / 272.7 MB, free: 288 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 3.326e-06/3.326e-06, allocations: 4 kB / 346.8 MB, free: 2.305 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.923e-05, allocations: 6.312 kB / 346.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.0031/0.003129, allocations: 1.36 MB / 348.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.0034, allocations: 31.83 kB / 348.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.003448, allocations: 0 / 348.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.003488, allocations: 4 kB / 348.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.003533, allocations: 3.938 kB / 348.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.00374, allocations: 4 kB / 348.2 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.003831, allocations: 15.92 kB / 348.2 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.003888, allocations: 0 / 348.2 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.003945, allocations: 7.984 kB / 348.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.00404, allocations: 0 / 348.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.004064, allocations: 4 kB / 348.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.004076, allocations: 3.938 kB / 348.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.004105, allocations: 7.984 kB / 348.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.004147, allocations: 0 / 348.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.667e-05/0.004243, allocations: 11.94 kB / 348.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.004248, allocations: 0 / 348.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.004251, allocations: 3.984 kB / 348.3 MB, free: 0.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.004258, allocations: 0 / 348.3 MB, free: 0.832 MB / 314.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.0004928/0.004751, allocations: 356.1 kB / 348.6 MB, free: 452 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.004811, allocations: 11.98 kB / 348.6 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.004873, allocations: 9.234 kB / 348.6 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.005078, allocations: 108.6 kB / 348.7 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.005097, allocations: 4.375 kB / 348.8 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.005132, allocations: 8.375 kB / 348.8 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.005265, allocations: 42.23 kB / 348.8 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005274, allocations: 4.125 kB / 348.8 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005285, allocations: 4.375 kB / 348.8 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005293, allocations: 384 / 348.8 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.005319, allocations: 7.938 kB / 348.8 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.005647, allocations: 239.8 kB / 349.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/0.005721, allocations: 39.09 kB / 349.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.00574, allocations: 7.688 kB / 349.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.005748, allocations: 3.938 kB / 349.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.005786, allocations: 41.33 kB / 349.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.005788, allocations: 4 kB / 349.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.005992, allocations: 57.7 kB / 349.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.006038, allocations: 51.41 kB / 349.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006142, allocations: 157.9 kB / 349.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.006155, allocations: 25.7 kB / 349.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.006213, allocations: 130.8 kB / 349.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.006228, allocations: 11.94 kB / 349.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.006268, allocations: 23.38 kB / 349.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.006417, allocations: 496.1 kB / 350.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.006458, allocations: 15.67 kB / 350.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.006505, allocations: 58.5 kB / 350.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/0.006591, allocations: 70.31 kB / 350.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.006594, allocations: 0 / 350.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001104/0.006704, allocations: 69.69 kB / 350.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.006722, allocations: 10.53 kB / 350.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.006728, allocations: 3.938 kB / 350.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.006745, allocations: 4 kB / 350.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.006848, allocations: 8 kB / 350.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.006861, allocations: 4 kB / 350.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.006894, allocations: 3.938 kB / 350.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.006904, allocations: 8 kB / 350.3 MB, free: 14.52 MB / 330.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.000156/0.00706, allocations: 168.6 kB / 350.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.007091, allocations: 7.984 kB / 350.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.007132, allocations: 15.62 kB / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007134, allocations: 0 / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.007138, allocations: 0 / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.007144, allocations: 0 / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.007294, allocations: 112.6 kB / 350.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007297, allocations: 0 / 350.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.007358, allocations: 0 / 350.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007361, allocations: 0 / 350.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.007379, allocations: 8.062 kB / 350.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.007383, allocations: 3.938 kB / 350.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.007385, allocations: 4 kB / 350.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.007611, allocations: 207.8 kB / 350.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.007621, allocations: 0 / 350.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.007639, allocations: 4 kB / 350.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.007707, allocations: 7.922 kB / 350.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.007727, allocations: 4 kB / 350.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.007734, allocations: 0 / 350.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.386e-05/0.007778, allocations: 123.2 kB / 351 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007778, allocations: 0 / 351 MB, free: 13.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.008041, allocations: 4 kB / 351 MB, free: 13.8 MB / 330.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 9.658e-05/0.008138, allocations: 95.36 kB / 351.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.008253, allocations: 35.61 kB / 351.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008255, allocations: 0 / 351.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.00828, allocations: 11.69 kB / 351.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.008526, allocations: 4 kB / 351.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.008871, allocations: 122.4 kB / 351.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.008913, allocations: 51.36 kB / 351.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.008931, allocations: 8.312 kB / 351.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.008957, allocations: 8.5 kB / 351.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008958, allocations: 0 / 351.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Templates: time 0.002424/0.01138, allocations: 376.4 kB / 351.7 MB, free: 13.04 MB / 330.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.8732527322135866]