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.001476/0.001476, allocations: 88.52 kB / 19.94 MB, free: 4.605 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.001614/0.001614, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 0.9929/0.9929, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.06132/0.06132, allocations: 12.74 MB / 272.7 MB, free: 0.5 MB / 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.293e-06/1.293e-06, allocations: 0 / 403.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.988e-05, allocations: 2.281 kB / 403.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001526/0.001545, allocations: 1.329 MB / 404.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.00169, allocations: 27.89 kB / 404.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.001718, allocations: 0 / 404.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.001745, allocations: 3.938 kB / 404.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.001771, allocations: 0 / 404.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.001893, allocations: 11.92 kB / 404.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.001947, allocations: 11.98 kB / 404.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.001988, allocations: 4 kB / 404.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.002023, allocations: 3.984 kB / 404.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.002076, allocations: 11.94 kB / 404.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.002094, allocations: 0 / 404.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.002102, allocations: 0 / 404.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.00212, allocations: 4 kB / 404.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.002145, allocations: 4 kB / 404.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.002201, allocations: 11.97 kB / 404.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002202, allocations: 0 / 404.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002203, allocations: 0 / 404.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.002206, allocations: 0 / 404.6 MB, free: 7.352 MB / 330.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.0003008/0.002507, allocations: 251.3 kB / 404.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.002542, allocations: 11.98 kB / 404.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.002571, allocations: 12.89 kB / 404.9 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.1e-05/0.002622, allocations: 109.7 kB / 405 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.002632, allocations: 384 / 405 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.002649, allocations: 8.375 kB / 405 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.002728, allocations: 38.25 kB / 405.1 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.002736, allocations: 8.062 kB / 405.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.002743, allocations: 384 / 405.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.002747, allocations: 384 / 405.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.002778, allocations: 11.94 kB / 405.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.002994, allocations: 188.6 kB / 405.3 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.003041, allocations: 26.52 kB / 405.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.003057, allocations: 8.859 kB / 405.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.003063, allocations: 0 / 405.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.003083, allocations: 34.66 kB / 405.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 5.41e-07/0.003083, allocations: 0 / 405.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001366/0.00322, allocations: 61.55 kB / 405.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.003251, allocations: 55.41 kB / 405.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.003303, allocations: 93.84 kB / 405.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.003315, allocations: 33.7 kB / 405.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.003342, allocations: 84.09 kB / 405.6 MB, free: 6.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.00335, allocations: 12.02 kB / 405.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.003373, allocations: 17.72 kB / 405.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.003444, allocations: 318.8 kB / 406 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.003464, allocations: 12.86 kB / 406 MB, free: 5.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.003491, allocations: 36.28 kB / 406 MB, free: 5.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.003561, allocations: 64.19 kB / 406.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003563, allocations: 0 / 406.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.849e-05/0.003632, allocations: 73.56 kB / 406.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.003644, allocations: 8 kB / 406.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.003649, allocations: 3.938 kB / 406.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.00366, allocations: 4 kB / 406.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.003708, allocations: 11.92 kB / 406.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.003714, allocations: 4.078 kB / 406.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.003728, allocations: 160 / 406.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.003734, allocations: 12.17 kB / 406.2 MB, free: 5.559 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 8.927e-05/0.003824, allocations: 121.8 kB / 406.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.003837, allocations: 0 / 406.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.003856, allocations: 11.62 kB / 406.3 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.003858, allocations: 0 / 406.3 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.003862, allocations: 3.984 kB / 406.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.003864, allocations: 0 / 406.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.401e-05/0.003938, allocations: 109.2 kB / 406.5 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00394, allocations: 8.062 kB / 406.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.003972, allocations: 0 / 406.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.003973, allocations: 3.938 kB / 406.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.003981, allocations: 4 kB / 406.5 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.003984, allocations: 7.922 kB / 406.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003984, allocations: 0 / 406.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.004092, allocations: 151.5 kB / 406.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-06/0.004097, allocations: 3.984 kB / 406.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.004106, allocations: 0 / 406.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.004141, allocations: 7.969 kB / 406.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.004152, allocations: 0 / 406.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.004156, allocations: 4.062 kB / 406.6 MB, free: 5.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.004178, allocations: 79.28 kB / 406.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004178, allocations: 0 / 406.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.004315, allocations: 8 kB / 406.7 MB, free: 4.988 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 6.017e-05/0.004376, allocations: 99.17 kB / 406.8 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.004439, allocations: 23.92 kB / 406.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.00444, allocations: 416 / 406.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.004454, allocations: 4 kB / 406.9 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.004591, allocations: 8 kB / 406.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.004826, allocations: 142.4 kB / 407 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.004863, allocations: 63.34 kB / 407.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.00488, allocations: 8.5 kB / 407.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.00488, allocations: 0 / 407.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of Templates: time 0.001245/0.006125, allocations: 0.5583 MB / 407.6 MB, free: 4.027 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 > Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.38781207613647]