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.001123/0.001123, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001241/0.001241, allocations: 169 kB / 24.06 MB, free: 456 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.9527/0.9527, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.05479/0.05479, allocations: 12.76 MB / 273.8 MB, free: 112 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.533e-06/1.533e-06, allocations: 0 / 347.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.344e-05, allocations: 10.19 kB / 347.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.0009988/0.001012, allocations: 0.6182 MB / 347.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001072/0.001119, allocations: 7.984 kB / 347.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.001141, allocations: 0 / 347.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.001171, allocations: 7.922 kB / 347.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.766e-05/0.001188, allocations: 0 / 347.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.001294, allocations: 11.92 kB / 347.9 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.001334, allocations: 4 kB / 347.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.001367, allocations: 8 kB / 347.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.001396, allocations: 3.984 kB / 347.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.00144, allocations: 0 / 347.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.001455, allocations: 0 / 347.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.001469, allocations: 4 kB / 347.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.001491, allocations: 0 / 347.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.001504, allocations: 0 / 347.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.208e-05/0.001557, allocations: 15.86 kB / 347.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001558, allocations: 0 / 347.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.001559, allocations: 4 kB / 347.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.001562, allocations: 0 / 347.9 MB, free: 2.016 MB / 314.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.0002604/0.001823, allocations: 356.1 kB / 348.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.001852, allocations: 11.98 kB / 348.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.001871, allocations: 5.234 kB / 348.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.196e-05/0.001933, allocations: 112.6 kB / 348.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.001941, allocations: 4.312 kB / 348.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.001952, allocations: 384 / 348.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.202e-05/0.002004, allocations: 34.27 kB / 348.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.00201, allocations: 4.172 kB / 348.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.002016, allocations: 384 / 348.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.002021, allocations: 4.375 kB / 348.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-06/0.002029, allocations: 7.938 kB / 348.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.002192, allocations: 216.4 kB / 348.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.186e-05/0.002224, allocations: 35.02 kB / 348.7 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.002236, allocations: 11.69 kB / 348.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-06/0.002241, allocations: 0 / 348.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.00226, allocations: 33.39 kB / 348.8 MB, free: 1.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.00226, allocations: 0 / 348.8 MB, free: 1.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 8.69e-05/0.002347, allocations: 37.7 kB / 348.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.002369, allocations: 51.53 kB / 348.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.002439, allocations: 169.8 kB / 349 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.002448, allocations: 25.7 kB / 349 MB, free: 0.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.002486, allocations: 130.8 kB / 349.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.002495, allocations: 7.953 kB / 349.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.002518, allocations: 23.36 kB / 349.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.002626, allocations: 0.4884 MB / 349.7 MB, free: 80 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-06/0.002631, allocations: 0 / 349.7 MB, free: 80 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.002643, allocations: 19.38 kB / 349.7 MB, free: 52 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.002676, allocations: 23.41 kB / 349.7 MB, free: 20 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.002677, allocations: 3.938 kB / 349.7 MB, free: 16 kB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.691e-05/0.002734, allocations: 49.69 kB / 349.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.002745, allocations: 4 kB / 349.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.002748, allocations: 4 kB / 349.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.002757, allocations: 3.938 kB / 349.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.002801, allocations: 4 kB / 349.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.002804, allocations: 0 / 349.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.002816, allocations: 4 kB / 349.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.00282, allocations: 3.938 kB / 349.8 MB, free: 15.93 MB / 330.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.795e-05/0.002897, allocations: 160.6 kB / 350 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.002911, allocations: 4 kB / 350 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.536e-05/0.002926, allocations: 7.094 kB / 350 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.002929, allocations: 3.938 kB / 350 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.00293, allocations: 0 / 350 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.002933, allocations: 0 / 350 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.599e-05/0.003009, allocations: 97.25 kB / 350.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.003009, allocations: 0 / 350.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.003038, allocations: 7.984 kB / 350.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.003039, allocations: 4 kB / 350.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.003046, allocations: 4 kB / 350.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.003046, allocations: 0 / 350.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.003047, allocations: 0 / 350.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.003143, allocations: 192 kB / 350.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.003149, allocations: 3.984 kB / 350.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.003156, allocations: 0 / 350.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.003181, allocations: 7.984 kB / 350.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.003191, allocations: 4 kB / 350.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.003194, allocations: 3.938 kB / 350.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.976e-05/0.003224, allocations: 123.2 kB / 350.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003224, allocations: 4 kB / 350.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001317/0.003356, allocations: 0 / 350.4 MB, free: 15.27 MB / 330.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.773e-05/0.003413, allocations: 95.23 kB / 350.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.281e-05/0.003456, allocations: 11.69 kB / 350.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.00346, allocations: 0 / 350.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.003469, allocations: 15.62 kB / 350.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.003597, allocations: 0 / 350.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.003853, allocations: 156.2 kB / 350.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.003886, allocations: 63.3 kB / 350.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.003916, allocations: 70.19 kB / 350.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.003917, allocations: 0 / 350.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of Templates: time 0.00098/0.004897, allocations: 471.9 kB / 351.3 MB, free: 14.33 MB / 330.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 > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.529850806109607]