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.001272/0.001272, allocations: 81.09 kB / 20.66 MB, free: 3.809 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.001465/0.001465, allocations: 177 kB / 24.07 MB, free: 416 kB / 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.9378/0.9378, allocations: 177.1 MB / 204.5 MB, free: 5.156 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.0516/0.0516, allocations: 12.76 MB / 273.8 MB, free: 15.98 MB / 266.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.252e-06/1.252e-06, allocations: 3.938 kB / 348.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.144e-05, allocations: 2.312 kB / 348.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.00121/0.001232, allocations: 0.6183 MB / 348.7 MB, free: 252 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001073/0.001339, allocations: 15.91 kB / 348.7 MB, free: 236 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.00136, allocations: 4 kB / 348.7 MB, free: 232 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.001387, allocations: 0 / 348.7 MB, free: 232 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.759e-05/0.001404, allocations: 0 / 348.7 MB, free: 232 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.716e-05/0.001502, allocations: 15.86 kB / 348.7 MB, free: 216 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.896e-05/0.00154, allocations: 8 kB / 348.7 MB, free: 208 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.001575, allocations: 0 / 348.7 MB, free: 208 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.001603, allocations: 3.984 kB / 348.7 MB, free: 204 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.001649, allocations: 4 kB / 348.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.001665, allocations: 0 / 348.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.001671, allocations: 0 / 348.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.001684, allocations: 0 / 348.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.001698, allocations: 7.938 kB / 348.7 MB, free: 192 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.617e-05/0.001744, allocations: 11.98 kB / 348.7 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.001746, allocations: 0 / 348.7 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.001746, allocations: 0 / 348.7 MB, free: 180 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.696e-06/0.00175, allocations: 0 / 348.7 MB, free: 180 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.0002587/0.002009, allocations: 356 kB / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.002047, allocations: 11.98 kB / 349.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.002068, allocations: 4.938 kB / 349.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.147e-05/0.00213, allocations: 105 kB / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.002137, allocations: 384 / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.00215, allocations: 8.375 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.249e-05/0.002203, allocations: 34.25 kB / 349.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00221, allocations: 4.125 kB / 349.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.002217, allocations: 8.359 kB / 349.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.00222, allocations: 384 / 349.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-06/0.00223, allocations: 3.938 kB / 349.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.002405, allocations: 216.4 kB / 349.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.136e-05/0.002437, allocations: 35.06 kB / 349.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-06/0.002447, allocations: 7.688 kB / 349.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.002453, allocations: 4 kB / 349.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.002475, allocations: 45.39 kB / 349.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.002476, allocations: 0 / 349.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.068e-05/0.002566, allocations: 33.64 kB / 349.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.002585, allocations: 51.41 kB / 349.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.002652, allocations: 157.9 kB / 349.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.002661, allocations: 25.7 kB / 349.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.002702, allocations: 134.8 kB / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.002708, allocations: 3.984 kB / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.002733, allocations: 27.33 kB / 350 MB, free: 14.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.002847, allocations: 496.2 kB / 350.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.002854, allocations: 4 kB / 350.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.002873, allocations: 23.31 kB / 350.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.002906, allocations: 27.31 kB / 350.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.002908, allocations: 0 / 350.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.195e-05/0.00296, allocations: 45.62 kB / 350.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.00297, allocations: 8 kB / 350.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.002974, allocations: 0 / 350.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.002984, allocations: 4.094 kB / 350.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.003034, allocations: 7.938 kB / 350.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.003038, allocations: 4 kB / 350.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.003049, allocations: 3.938 kB / 350.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.003053, allocations: 0 / 350.6 MB, free: 14.1 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.291e-05/0.003136, allocations: 160.6 kB / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.00315, allocations: 3.984 kB / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.003165, allocations: 7.156 kB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.003167, allocations: 0 / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.003168, allocations: 3.938 kB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.003174, allocations: 8 kB / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.003183, allocations: 0 / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.582e-05/0.003209, allocations: 4 kB / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.003217, allocations: 3.938 kB / 350.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.367e-05/0.00331, allocations: 156.9 kB / 350.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001159/0.003426, allocations: 311 kB / 351.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.581e-05/0.003442, allocations: 15.62 kB / 351.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.003472, allocations: 123.5 kB / 351.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of Backend: time 2.11e-07/0.003472, allocations: 4 kB / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.003667, allocations: 90.55 kB / 351.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of SimCode: time 0.0003267/0.003994, allocations: 0.8296 MB / 352.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of Templates: time 0.001442/0.005435, allocations: 328.6 kB / 352.6 MB, free: 11.97 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.3963047470897436]