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.001484/0.001484, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001037/0.001037, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9921/0.9921, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.05771/0.05771, allocations: 12.75 MB / 273 MB, free: 128 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 1.493e-06/1.493e-06, allocations: 0 / 347.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.164e-05, allocations: 7.859 kB / 347.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001097/0.001119, allocations: 0.6194 MB / 347.9 MB, free: 232 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001188/0.001238, allocations: 15.91 kB / 347.9 MB, free: 216 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.001263, allocations: 0 / 347.9 MB, free: 216 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.001289, allocations: 0 / 347.9 MB, free: 216 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.892e-05/0.001307, allocations: 7.938 kB / 347.9 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.001409, allocations: 8 kB / 347.9 MB, free: 200 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.001447, allocations: 11.97 kB / 347.9 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.001478, allocations: 0 / 347.9 MB, free: 188 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.001512, allocations: 0 / 347.9 MB, free: 188 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.001569, allocations: 4 kB / 347.9 MB, free: 184 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.001583, allocations: 0 / 347.9 MB, free: 184 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-06/0.00159, allocations: 3.938 kB / 347.9 MB, free: 180 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.001604, allocations: 0 / 347.9 MB, free: 180 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.001619, allocations: 7.984 kB / 347.9 MB, free: 172 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.96e-05/0.001668, allocations: 4 kB / 348 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.00167, allocations: 4 kB / 348 MB, free: 164 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.001671, allocations: 0 / 348 MB, free: 164 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.001673, allocations: 0 / 348 MB, free: 164 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.0002685/0.001942, allocations: 356 kB / 348.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.001978, allocations: 11.98 kB / 348.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.002003, allocations: 4.938 kB / 348.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.316e-05/0.002067, allocations: 105 kB / 348.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002076, allocations: 4.375 kB / 348.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.00209, allocations: 8.359 kB / 348.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.23e-05/0.002142, allocations: 38.2 kB / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.002148, allocations: 192 / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.002154, allocations: 384 / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.002158, allocations: 384 / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-06/0.002166, allocations: 7.922 kB / 348.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.002339, allocations: 224.4 kB / 348.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.849e-05/0.002367, allocations: 27.06 kB / 348.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-06/0.002377, allocations: 7.688 kB / 348.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.002383, allocations: 8 kB / 348.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.002403, allocations: 37.39 kB / 348.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.002405, allocations: 4 kB / 348.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.036e-05/0.002495, allocations: 41.56 kB / 348.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.002517, allocations: 55.41 kB / 348.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.00258, allocations: 161.9 kB / 349 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.002593, allocations: 25.7 kB / 349.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.002629, allocations: 130.8 kB / 349.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.002635, allocations: 4 kB / 349.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.00266, allocations: 23.33 kB / 349.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.002762, allocations: 496.1 kB / 349.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.002771, allocations: 7.938 kB / 349.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.002787, allocations: 23.48 kB / 349.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.002821, allocations: 23.38 kB / 349.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.002823, allocations: 0 / 349.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.773e-05/0.002871, allocations: 45.64 kB / 349.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.002882, allocations: 4 kB / 349.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.002886, allocations: 0 / 349.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.002896, allocations: 7.922 kB / 349.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.002953, allocations: 8 kB / 349.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.002955, allocations: 4.094 kB / 349.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.002968, allocations: 3.938 kB / 349.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.002971, allocations: 0 / 349.8 MB, free: 14.07 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 8.85e-05/0.003059, allocations: 161.2 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.003073, allocations: 4 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.00309, allocations: 7.094 kB / 350 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.003094, allocations: 7.938 kB / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.003095, allocations: 0 / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.003097, allocations: 0 / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.861e-05/0.003176, allocations: 93.25 kB / 350.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003176, allocations: 4 kB / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.003209, allocations: 8 kB / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.00321, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.003218, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.003218, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.003219, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.003321, allocations: 191.8 kB / 350.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-06/0.003328, allocations: 8 kB / 350.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-06/0.003334, allocations: 0 / 350.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.003358, allocations: 3.938 kB / 350.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-06/0.003365, allocations: 4.062 kB / 350.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.003371, allocations: 7.922 kB / 350.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.0034, allocations: 127.1 kB / 350.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0034, allocations: 0 / 350.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.003532, allocations: 4 kB / 350.4 MB, free: 13.41 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 5.843e-05/0.00359, allocations: 87.25 kB / 350.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.863e-05/0.003639, allocations: 19.67 kB / 350.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00364, allocations: 0 / 350.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.003647, allocations: 11.81 kB / 350.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.003786, allocations: 12 kB / 350.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.004036, allocations: 122.2 kB / 350.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.004065, allocations: 59.28 kB / 350.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.222e-05/0.004077, allocations: 4 kB / 350.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.004108, allocations: 66.2 kB / 350.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.004109, allocations: 0 / 350.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of Templates: time 0.001521/0.00563, allocations: 321.1 kB / 351.1 MB, free: 12.65 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: 2.661470929160714]