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.0006743/0.0006743, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000906/0.00158, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006722/0.0006722, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.00169, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08869/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.05345/0.05345, allocations: 12.74 MB / 256.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007281/0.06073, allocations: 4.833 MB / 261.7 MB, free: 13.15 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.372e-06/1.372e-06, allocations: 0 / 263.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.682e-05, allocations: 2.312 kB / 263.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001047/0.001064, allocations: 0.6821 MB / 263.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 4.825e-05/0.001112, allocations: 15.92 kB / 263.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.001129, allocations: 0 / 263.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.001147, allocations: 0 / 263.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.001153, allocations: 3.938 kB / 263.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.053e-05/0.001214, allocations: 3.984 kB / 263.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.00126, allocations: 7.938 kB / 263.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.001296, allocations: 4 kB / 263.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.001346, allocations: 11.97 kB / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.001399, allocations: 4 kB / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.001418, allocations: 4 kB / 263.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-06/0.001425, allocations: 0 / 263.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.001446, allocations: 7.938 kB / 263.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.001463, allocations: 4 kB / 263.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.028e-05/0.001523, allocations: 0 / 263.9 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.001535, allocations: 0 / 263.9 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.001536, allocations: 0 / 263.9 MB, free: 11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.001547, allocations: 0 / 263.9 MB, free: 11 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003159/0.001862, allocations: 220.7 kB / 264.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.001894, allocations: 8.031 kB / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.001918, allocations: 4.938 kB / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.002005, allocations: 109.8 kB / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.002015, allocations: 384 / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.002034, allocations: 4.375 kB / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.539e-05/0.002099, allocations: 34.2 kB / 264.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.002105, allocations: 192 / 264.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.002118, allocations: 4.375 kB / 264.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.002124, allocations: 384 / 264.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.16e-05/0.002136, allocations: 7.922 kB / 264.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.002296, allocations: 148.2 kB / 264.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.045e-05/0.002326, allocations: 14.58 kB / 264.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-06/0.002334, allocations: 8.859 kB / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.002341, allocations: 8 kB / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.002362, allocations: 30.56 kB / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.002362, allocations: 0 / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 8.906e-05/0.002452, allocations: 37.69 kB / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.002482, allocations: 55.34 kB / 264.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.002541, allocations: 102.7 kB / 264.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.002553, allocations: 29.69 kB / 264.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.002588, allocations: 92.02 kB / 264.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.002595, allocations: 128 / 264.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.002616, allocations: 17.72 kB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.002697, allocations: 310.8 kB / 265.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.002704, allocations: 7.938 kB / 265.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.002719, allocations: 17.89 kB / 265.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.002753, allocations: 25.7 kB / 265.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.002755, allocations: 0 / 265.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.238e-05/0.002797, allocations: 45.62 kB / 265.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.00281, allocations: 8.094 kB / 265.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.002814, allocations: 48 / 265.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.002827, allocations: 3.984 kB / 265.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.002932, allocations: 11.94 kB / 265.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.002936, allocations: 0 / 265.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.002946, allocations: 3.953 kB / 265.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.00295, allocations: 4 kB / 265.2 MB, free: 9.484 MB / 266.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 7.306e-05/0.003024, allocations: 109.8 kB / 265.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.003035, allocations: 4 kB / 265.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.003053, allocations: 15.09 kB / 265.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.003055, allocations: 3.938 kB / 265.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.003056, allocations: 0 / 265.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.003059, allocations: 4 kB / 265.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.727e-05/0.003126, allocations: 61.91 kB / 265.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003127, allocations: 0 / 265.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.003174, allocations: 7.984 kB / 265.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.00318, allocations: 4 kB / 265.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.003181, allocations: 3.938 kB / 265.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.003188, allocations: 0 / 265.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.003189, allocations: 3.938 kB / 265.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.00319, allocations: 4 kB / 265.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.519e-05/0.003275, allocations: 127.5 kB / 265.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.003281, allocations: 0 / 265.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.003304, allocations: 4 kB / 265.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.003313, allocations: 3.938 kB / 265.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.003315, allocations: 0 / 265.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.119e-05/0.003327, allocations: 16.78 kB / 265.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003327, allocations: 0 / 265.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001079/0.003435, allocations: 4 kB / 265.6 MB, free: 9.066 MB / 266.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 6.413e-05/0.003499, allocations: 80.47 kB / 265.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.188e-05/0.003551, allocations: 12.86 kB / 265.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.003554, allocations: 0 / 265.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.003562, allocations: 8.844 kB / 265.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.003681, allocations: 37.64 kB / 265.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.003905, allocations: 125.2 kB / 265.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.003936, allocations: 51.64 kB / 265.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.437e-05/0.00395, allocations: 4 kB / 265.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.003991, allocations: 51.38 kB / 266 MB, free: 8.637 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.003991, allocations: 0 / 266 MB, free: 8.637 MB / 266.7 MB Notification: Performance of Templates: time 0.001625/0.005616, allocations: 350.2 kB / 266.3 MB, free: 8.305 MB / 266.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.3877359768375754]