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.001134/0.001134, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001277/0.001277, allocations: 181 kB / 23.36 MB, free: 1.133 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.06688/0.06688, allocations: 12.76 MB / 273 MB, free: 172 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 / 294 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.349e-05, allocations: 2.312 kB / 294 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.002088/0.002112, allocations: 0.6695 MB / 294.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.002281, allocations: 23.16 kB / 294.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.002311, allocations: 0 / 294.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.00234, allocations: 0.6562 kB / 294.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.412e-05/0.002364, allocations: 0 / 294.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.002494, allocations: 6.766 kB / 294.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.00255, allocations: 4.297 kB / 294.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.002593, allocations: 2.734 kB / 294.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.002636, allocations: 3.047 kB / 294.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.002703, allocations: 9.391 kB / 294.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.00272, allocations: 5.281 kB / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.002729, allocations: 0 / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.002747, allocations: 1.094 kB / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.002764, allocations: 2.078 kB / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.194e-05/0.002826, allocations: 7.062 kB / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.002829, allocations: 1.188 kB / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00283, allocations: 0 / 294.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.002834, allocations: 0 / 294.8 MB, free: 11.43 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.0002636/0.003097, allocations: 221.9 kB / 295 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.003145, allocations: 13.2 kB / 295 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.003177, allocations: 2.781 kB / 295 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.642e-05/0.003253, allocations: 116.8 kB / 295.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.003266, allocations: 2.016 kB / 295.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.003283, allocations: 2.031 kB / 295.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.35e-05/0.003346, allocations: 30.69 kB / 295.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.003354, allocations: 1.812 kB / 295.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.003361, allocations: 1.078 kB / 295.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.003367, allocations: 384 / 295.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.461e-05/0.003382, allocations: 7.422 kB / 295.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.00355, allocations: 142.6 kB / 295.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.257e-05/0.003583, allocations: 24.64 kB / 295.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.003594, allocations: 6.016 kB / 295.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.003601, allocations: 1.891 kB / 295.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.003621, allocations: 31.75 kB / 295.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.003622, allocations: 0 / 295.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.003732, allocations: 37.33 kB / 295.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.003758, allocations: 56.41 kB / 295.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.003815, allocations: 105.7 kB / 295.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.003821, allocations: 25.7 kB / 295.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.003845, allocations: 89.78 kB / 295.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.003852, allocations: 5.656 kB / 295.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.003882, allocations: 18.05 kB / 295.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.00392, allocations: 317.2 kB / 296 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-06/0.003926, allocations: 1.156 kB / 296 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.003942, allocations: 13.64 kB / 296 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.003986, allocations: 23.55 kB / 296.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003988, allocations: 0 / 296.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.929e-05/0.004057, allocations: 41.77 kB / 296.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.004074, allocations: 11.06 kB / 296.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004079, allocations: 1.094 kB / 296.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.004093, allocations: 5.375 kB / 296.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.004211, allocations: 10.14 kB / 296.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.004216, allocations: 2 kB / 296.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.004234, allocations: 5.422 kB / 296.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.004239, allocations: 0 / 296.1 MB, free: 10.04 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.631e-05/0.004315, allocations: 113.8 kB / 296.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.004339, allocations: 9.141 kB / 296.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.004357, allocations: 9.047 kB / 296.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.00436, allocations: 4.688 kB / 296.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004362, allocations: 1.156 kB / 296.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004364, allocations: 0 / 296.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.984e-05/0.004464, allocations: 62.69 kB / 296.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.004466, allocations: 0 / 296.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.004543, allocations: 7.125 kB / 296.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.004546, allocations: 0 / 296.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.004556, allocations: 0.6562 kB / 296.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.004557, allocations: 1.156 kB / 296.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004559, allocations: 4 kB / 296.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/0.004658, allocations: 136 kB / 296.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.004666, allocations: 6.75 kB / 296.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.004676, allocations: 0.5156 kB / 296.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.004726, allocations: 5.219 kB / 296.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.00474, allocations: 4.688 kB / 296.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.004743, allocations: 1.953 kB / 296.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.153e-05/0.004755, allocations: 7.859 kB / 296.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004755, allocations: 0 / 296.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.00496, allocations: 2.438 kB / 296.5 MB, free: 9.672 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 8.634e-05/0.005046, allocations: 76.56 kB / 296.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.005115, allocations: 16.3 kB / 296.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.005122, allocations: 0.9688 kB / 296.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.457e-06/0.005131, allocations: 7.203 kB / 296.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.005301, allocations: 2.328 kB / 296.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.005634, allocations: 128.6 kB / 296.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.005663, allocations: 58.2 kB / 296.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.005689, allocations: 1.984 kB / 296.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.005725, allocations: 49.81 kB / 296.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.005726, allocations: 1.375 kB / 296.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002515/0.008241, allocations: 353.7 kB / 297.2 MB, free: 9.297 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.736224189866334]