Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.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.001133/0.001133, allocations: 92.22 kB / 19.65 MB, free: 276 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.001868/0.001868, 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.115/1.115, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.07019/0.07019, allocations: 12.76 MB / 272.7 MB, free: 272 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.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 346.8 MB, free: 1.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.98e-05, allocations: 2.312 kB / 346.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001971/0.002011, allocations: 0.6216 MB / 347.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.002184, allocations: 19.92 kB / 347.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.002216, allocations: 0 / 347.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.002254, allocations: 0 / 347.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.00228, allocations: 11.88 kB / 347.5 MB, free: 480 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.002429, allocations: 3.984 kB / 347.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.002498, allocations: 11.98 kB / 347.5 MB, free: 464 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.002545, allocations: 0 / 347.5 MB, free: 464 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.002586, allocations: 4 kB / 347.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.002658, allocations: 3.984 kB / 347.5 MB, free: 456 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.002682, allocations: 0 / 347.5 MB, free: 456 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.002691, allocations: 0 / 347.5 MB, free: 456 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.002711, allocations: 4 kB / 347.5 MB, free: 452 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.002737, allocations: 3.938 kB / 347.5 MB, free: 448 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.004e-05/0.002807, allocations: 4 kB / 347.5 MB, free: 444 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.00281, allocations: 0 / 347.5 MB, free: 444 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.002812, allocations: 0 / 347.5 MB, free: 444 kB / 266.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.002818, allocations: 3.984 kB / 347.5 MB, free: 440 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003991/0.003217, allocations: 352.1 kB / 347.9 MB, free: 44 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.003268, allocations: 11.98 kB / 347.9 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.003318, allocations: 8.922 kB / 347.9 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.003454, allocations: 109 kB / 348 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.003469, allocations: 4.375 kB / 348 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.003493, allocations: 4.375 kB / 348 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.003595, allocations: 34.2 kB / 348 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.003607, allocations: 4.172 kB / 348 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.003618, allocations: 384 / 348 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.003628, allocations: 384 / 348 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.003652, allocations: 11.92 kB / 348 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.004005, allocations: 235.8 kB / 348.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.567e-05/0.004071, allocations: 27.05 kB / 348.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.004095, allocations: 15.69 kB / 348.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.004104, allocations: 4 kB / 348.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.00414, allocations: 37.39 kB / 348.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.425e-06/0.004143, allocations: 0 / 348.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001876/0.00433, allocations: 37.64 kB / 348.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.004381, allocations: 51.41 kB / 348.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.004497, allocations: 161.9 kB / 348.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.004513, allocations: 25.7 kB / 348.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.004572, allocations: 130.8 kB / 348.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.004583, allocations: 4 kB / 348.7 MB, free: 15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.004627, allocations: 27.31 kB / 348.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.004785, allocations: 0.4885 MB / 349.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.004802, allocations: 3.938 kB / 349.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.004838, allocations: 23.31 kB / 349.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.231e-05/0.0049, allocations: 23.38 kB / 349.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.004906, allocations: 4 kB / 349.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.601e-05/0.005002, allocations: 45.62 kB / 349.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.005023, allocations: 8 kB / 349.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.005031, allocations: 8.031 kB / 349.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.005049, allocations: 0 / 349.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.005143, allocations: 4 kB / 349.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.005152, allocations: 0 / 349.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.005174, allocations: 7.938 kB / 349.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.005181, allocations: 0 / 349.4 MB, free: 14.32 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: output y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001523/0.005333, allocations: 160.6 kB / 349.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.005358, allocations: 3.938 kB / 349.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.005392, allocations: 11.09 kB / 349.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005394, allocations: 0 / 349.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.005399, allocations: 4 kB / 349.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005402, allocations: 0 / 349.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.005541, allocations: 108.6 kB / 349.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.005546, allocations: 7.984 kB / 349.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.005613, allocations: 4 kB / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.005617, allocations: 0 / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.005637, allocations: 4 kB / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.00564, allocations: 3.938 kB / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.005642, allocations: 0 / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.00584, allocations: 187.9 kB / 349.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.005851, allocations: 8.062 kB / 349.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.005864, allocations: 0 / 349.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.005913, allocations: 3.938 kB / 349.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.005931, allocations: 3.938 kB / 349.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.005937, allocations: 0 / 349.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.005985, allocations: 127.4 kB / 350 MB, free: 13.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005985, allocations: 0 / 350 MB, free: 13.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.006238, allocations: 7.984 kB / 350 MB, free: 13.62 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001019/0.00634, allocations: 91.25 kB / 350.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.006442, allocations: 19.69 kB / 350.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006444, allocations: 0 / 350.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.006456, allocations: 11.62 kB / 350.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.006718, allocations: 7.125 kB / 350.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.007158, allocations: 134.1 kB / 350.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.371e-05/0.007211, allocations: 51.36 kB / 350.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.007232, allocations: 7.984 kB / 350.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.007262, allocations: 8.688 kB / 350.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.007263, allocations: 4 kB / 350.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of Templates: time 0.00252/0.009783, allocations: 300.9 kB / 350.6 MB, free: 12.94 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.sim & ./Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1271377322264016]