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.0009546/0.0009546, 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.001134/0.001134, 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.05861/0.05861, allocations: 12.76 MB / 273 MB, free: 168 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.342e-06/1.342e-06, allocations: 0 / 294 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.123e-05, allocations: 2.312 kB / 294 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001898/0.001919, allocations: 1.356 MB / 295.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002186/0.002138, allocations: 37.08 kB / 295.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.002176, allocations: 0 / 295.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.002209, allocations: 0.5156 kB / 295.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.002252, allocations: 0 / 295.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.002403, allocations: 12.67 kB / 295.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.002466, allocations: 14.03 kB / 295.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.002511, allocations: 3.266 kB / 295.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.002557, allocations: 8.078 kB / 295.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.002628, allocations: 3.609 kB / 295.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.002649, allocations: 5.344 kB / 295.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.002658, allocations: 0 / 295.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.002676, allocations: 1.875 kB / 295.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.002696, allocations: 6.156 kB / 295.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.88e-05/0.002755, allocations: 10.14 kB / 295.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002757, allocations: 0 / 295.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002758, allocations: 0 / 295.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.002762, allocations: 1.906 kB / 295.5 MB, free: 10.94 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.0002547/0.003017, allocations: 223 kB / 295.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.003056, allocations: 12.73 kB / 295.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.003081, allocations: 4.203 kB / 295.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.964e-05/0.003121, allocations: 108.5 kB / 295.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.003132, allocations: 5.953 kB / 295.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.00315, allocations: 3.703 kB / 295.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.579e-05/0.003215, allocations: 39.92 kB / 295.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.003223, allocations: 0.7969 kB / 295.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.003229, allocations: 1.594 kB / 295.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.003234, allocations: 0.9375 kB / 295.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.402e-05/0.003248, allocations: 8.422 kB / 295.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.00339, allocations: 150 kB / 296 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.003428, allocations: 25.67 kB / 296 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.02e-05/0.003438, allocations: 7.172 kB / 296.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.003444, allocations: 5.812 kB / 296.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.00346, allocations: 34.33 kB / 296.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.003461, allocations: 0 / 296.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 9.741e-05/0.003558, allocations: 40.09 kB / 296.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.003589, allocations: 57.19 kB / 296.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.124e-05/0.00363, allocations: 100.2 kB / 296.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-06/0.003636, allocations: 30.7 kB / 296.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.937e-05/0.003655, allocations: 89.84 kB / 296.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.003663, allocations: 15.17 kB / 296.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.003685, allocations: 15.44 kB / 296.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.817e-05/0.003713, allocations: 318.7 kB / 296.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.003729, allocations: 12.19 kB / 296.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.003749, allocations: 43.98 kB / 296.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.003794, allocations: 48.28 kB / 296.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.003796, allocations: 4 kB / 296.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.802e-05/0.003854, allocations: 63.16 kB / 296.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.003865, allocations: 4.781 kB / 296.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.003871, allocations: 2.688 kB / 296.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.003884, allocations: 2.031 kB / 296.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.003934, allocations: 13.92 kB / 296.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.003938, allocations: 1.891 kB / 296.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.003954, allocations: 6.828 kB / 296.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.003959, allocations: 6.75 kB / 296.9 MB, free: 9.465 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 7.786e-05/0.004037, allocations: 128.6 kB / 297.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.00405, allocations: 2.203 kB / 297.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.00407, allocations: 5.25 kB / 297.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.004072, allocations: 1.062 kB / 297.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.004074, allocations: 3.938 kB / 297.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.004078, allocations: 1.891 kB / 297.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.52e-05/0.004143, allocations: 65.42 kB / 297.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.004144, allocations: 5.219 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.004172, allocations: 1.688 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.004174, allocations: 1.156 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.004181, allocations: 0.6562 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004183, allocations: 1.547 kB / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.004183, allocations: 0 / 297.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.485e-05/0.004268, allocations: 148.3 kB / 297.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.004276, allocations: 5.609 kB / 297.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.004284, allocations: 1.125 kB / 297.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.004315, allocations: 1.672 kB / 297.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.004326, allocations: 2.688 kB / 297.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.00433, allocations: 5.891 kB / 297.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.496e-06/0.004339, allocations: 10.11 kB / 297.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004339, allocations: 0 / 297.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.004461, allocations: 6.891 kB / 297.3 MB, free: 9.086 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 6.458e-05/0.004526, allocations: 72.3 kB / 297.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.004588, allocations: 30.81 kB / 297.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.00459, allocations: 416 / 297.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.004604, allocations: 18.34 kB / 297.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.917e-05/0.004693, allocations: 3.469 kB / 297.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.004908, allocations: 115.3 kB / 297.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.132e-05/0.004929, allocations: 58.88 kB / 297.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.004943, allocations: 3.984 kB / 297.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.004965, allocations: 49.59 kB / 297.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004965, allocations: 1.156 kB / 297.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002237/0.007203, allocations: 405.4 kB / 298.1 MB, free: 8.695 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.703549641184509]