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.001331/0.001331, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00151/0.00151, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.069/1.069, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.06595/0.06595, allocations: 12.76 MB / 273 MB, free: 156 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.302e-06/1.302e-06, allocations: 0 / 294 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.303e-05, allocations: 2.312 kB / 294 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001142/0.001155, allocations: 0.6211 MB / 294.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.001271, allocations: 23.69 kB / 294.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.001293, allocations: 0 / 294.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.001317, allocations: 0.5156 kB / 294.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.001341, allocations: 1.062 kB / 294.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.848e-05/0.00144, allocations: 2.562 kB / 294.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.001479, allocations: 12.64 kB / 294.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.001512, allocations: 1.734 kB / 294.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.001544, allocations: 3.359 kB / 294.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.001589, allocations: 5.406 kB / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.001604, allocations: 1.281 kB / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-06/0.00161, allocations: 0 / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.001625, allocations: 6.094 kB / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.299e-05/0.001638, allocations: 5.453 kB / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.379e-05/0.001682, allocations: 3.469 kB / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001683, allocations: 0 / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.001684, allocations: 1.312 kB / 294.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.335e-06/0.001686, allocations: 0 / 294.7 MB, free: 11.5 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.0002029/0.001889, allocations: 217.6 kB / 294.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.001917, allocations: 13.97 kB / 294.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.001937, allocations: 4.938 kB / 294.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.788e-05/0.001985, allocations: 106.2 kB / 295 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.001994, allocations: 12.3 kB / 295 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.002009, allocations: 3.844 kB / 295 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.683e-05/0.002056, allocations: 31.16 kB / 295.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.002062, allocations: 192 / 295.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.002068, allocations: 1.078 kB / 295.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.002072, allocations: 4.312 kB / 295.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-06/0.002081, allocations: 7.672 kB / 295.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.002198, allocations: 143 kB / 295.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.41e-05/0.002222, allocations: 24.8 kB / 295.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-06/0.002229, allocations: 6.875 kB / 295.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-06/0.002234, allocations: 0 / 295.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.002247, allocations: 32.94 kB / 295.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.002247, allocations: 3.938 kB / 295.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 7.241e-05/0.00232, allocations: 32.33 kB / 295.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.002338, allocations: 57.08 kB / 295.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/0.002374, allocations: 100.5 kB / 295.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-06/0.002378, allocations: 26.89 kB / 295.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.648e-05/0.002394, allocations: 98.05 kB / 295.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.0024, allocations: 1.781 kB / 295.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.002417, allocations: 16.7 kB / 295.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.31e-05/0.00244, allocations: 314.5 kB / 295.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.002445, allocations: 3.359 kB / 295.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.002456, allocations: 16.84 kB / 295.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.002482, allocations: 22.22 kB / 296 MB, free: 10.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.002484, allocations: 0 / 296 MB, free: 10.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.318e-05/0.002517, allocations: 46.7 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.002526, allocations: 4.875 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.002529, allocations: 0 / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.002541, allocations: 1.766 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.002586, allocations: 9.672 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.002589, allocations: 0.7031 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.002599, allocations: 5.422 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.002603, allocations: 2.234 kB / 296 MB, free: 10.11 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 5.156e-05/0.002655, allocations: 115.7 kB / 296.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.002666, allocations: 4.906 kB / 296.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.00268, allocations: 7.859 kB / 296.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.002681, allocations: 6.047 kB / 296.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.002683, allocations: 3.938 kB / 296.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.002685, allocations: 0 / 296.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.687e-05/0.002742, allocations: 62.78 kB / 296.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.002743, allocations: 0 / 296.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.002769, allocations: 9.578 kB / 296.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.00277, allocations: 1.5 kB / 296.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.002777, allocations: 0 / 296.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.002777, allocations: 0.5625 kB / 296.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.002778, allocations: 4 kB / 296.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.572e-05/0.002834, allocations: 132.2 kB / 296.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.002838, allocations: 1.531 kB / 296.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-06/0.002845, allocations: 2.234 kB / 296.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.002867, allocations: 0.7969 kB / 296.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.002875, allocations: 5.562 kB / 296.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.002877, allocations: 4.734 kB / 296.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.784e-06/0.002885, allocations: 12.03 kB / 296.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002885, allocations: 0 / 296.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001074/0.002992, allocations: 3.562 kB / 296.4 MB, free: 9.738 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 5.068e-05/0.003043, allocations: 79.7 kB / 296.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.945e-05/0.003083, allocations: 16.81 kB / 296.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.003085, allocations: 0 / 296.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.00309, allocations: 6.922 kB / 296.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.073e-05/0.00318, allocations: 3.188 kB / 296.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.003392, allocations: 120.9 kB / 296.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.634e-05/0.003408, allocations: 57.92 kB / 296.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.058e-05/0.003419, allocations: 2.031 kB / 296.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.003436, allocations: 48.72 kB / 296.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of SimCode: time 3.1e-07/0.003436, allocations: 1.531 kB / 296.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of Templates: time 0.001441/0.004877, allocations: 320.3 kB / 297.1 MB, free: 9.363 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.7493089311756194]