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.0009736/0.0009736, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001111/0.001111, allocations: 181 kB / 23.36 MB, free: 1.133 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.061/1.061, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.08094/0.08094, allocations: 12.76 MB / 273 MB, free: 160 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.543e-06/1.543e-06, allocations: 0 / 294 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.482e-05, allocations: 2.312 kB / 294 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.002308/0.002333, allocations: 1.404 MB / 295.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.002546, allocations: 31.39 kB / 295.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.002578, allocations: 1.219 kB / 295.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.002607, allocations: 4.734 kB / 295.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.294e-05/0.00264, allocations: 4 kB / 295.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.002764, allocations: 11.44 kB / 295.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.002817, allocations: 6.375 kB / 295.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.002857, allocations: 7.453 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.002897, allocations: 8.859 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.002964, allocations: 2.422 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.00298, allocations: 1.062 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.002989, allocations: 1.281 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.00301, allocations: 5.766 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003029, allocations: 1.641 kB / 295.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.712e-05/0.003086, allocations: 14.17 kB / 295.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00309, allocations: 4.609 kB / 295.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003091, allocations: 0 / 295.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.003095, allocations: 0 / 295.6 MB, free: 10.84 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.0002527/0.003348, allocations: 219.4 kB / 295.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.003387, allocations: 14.17 kB / 295.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.003413, allocations: 3.859 kB / 295.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.258e-05/0.003456, allocations: 107.5 kB / 295.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.003466, allocations: 3.016 kB / 295.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.003483, allocations: 3.219 kB / 295.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.65e-05/0.003549, allocations: 44.19 kB / 295.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.003557, allocations: 192 / 295.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003564, allocations: 2.469 kB / 295.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.00357, allocations: 384 / 295.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.003589, allocations: 12.94 kB / 296 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.003745, allocations: 146.4 kB / 296.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.543e-05/0.00378, allocations: 24.52 kB / 296.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.209e-05/0.003793, allocations: 11.77 kB / 296.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.0038, allocations: 1.812 kB / 296.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.003817, allocations: 32.22 kB / 296.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.003817, allocations: 5.594 kB / 296.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001029/0.00392, allocations: 42.45 kB / 296.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.00395, allocations: 62.36 kB / 296.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.003998, allocations: 102.6 kB / 296.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-06/0.004004, allocations: 27.61 kB / 296.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.004027, allocations: 85.22 kB / 296.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.004037, allocations: 15.2 kB / 296.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.00406, allocations: 20.39 kB / 296.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.222e-05/0.004093, allocations: 313.4 kB / 296.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.00411, allocations: 9.297 kB / 296.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.004134, allocations: 42.5 kB / 296.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.004194, allocations: 54.98 kB / 296.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.004196, allocations: 1.375 kB / 296.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.01e-05/0.004267, allocations: 54.7 kB / 297 MB, free: 9.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.004281, allocations: 9.312 kB / 297 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.004287, allocations: 1.797 kB / 297 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.004301, allocations: 1.188 kB / 297 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.004356, allocations: 23.16 kB / 297 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.004359, allocations: 1.406 kB / 297 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.004378, allocations: 6.484 kB / 297 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.004383, allocations: 2.125 kB / 297 MB, free: 9.371 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.164e-05/0.004475, allocations: 121.8 kB / 297.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.004492, allocations: 3.812 kB / 297.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.004515, allocations: 7.688 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004518, allocations: 1.578 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.00452, allocations: 3.938 kB / 297.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.004524, allocations: 1.703 kB / 297.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.984e-05/0.004594, allocations: 65.64 kB / 297.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.004596, allocations: 1.188 kB / 297.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.004624, allocations: 1.891 kB / 297.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.004626, allocations: 5.156 kB / 297.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.004634, allocations: 0.6562 kB / 297.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.004637, allocations: 7.844 kB / 297.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.004638, allocations: 0 / 297.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.004747, allocations: 139.7 kB / 297.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.004757, allocations: 5.891 kB / 297.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.004769, allocations: 1.766 kB / 297.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.004805, allocations: 0.8906 kB / 297.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.004818, allocations: 9.875 kB / 297.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.004824, allocations: 1.688 kB / 297.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.197e-05/0.004836, allocations: 12.08 kB / 297.4 MB, free: 9 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004836, allocations: 0 / 297.4 MB, free: 9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.004967, allocations: 10.14 kB / 297.4 MB, free: 8.996 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 7.209e-05/0.005039, allocations: 71.84 kB / 297.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.005111, allocations: 32.66 kB / 297.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.005115, allocations: 1.5 kB / 297.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.005135, allocations: 14.44 kB / 297.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.00524, allocations: 6.047 kB / 297.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.005468, allocations: 108.1 kB / 297.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.388e-05/0.005492, allocations: 55.91 kB / 297.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.355e-05/0.005505, allocations: 5.656 kB / 297.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.00553, allocations: 51.8 kB / 297.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.005531, allocations: 0 / 297.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of Templates: time 0.002005/0.007536, allocations: 404.6 kB / 298.2 MB, free: 8.609 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8080994691699743]