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.002257/0.002257, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002748/0.002748, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.834/1.834, allocations: 177.1 MB / 202.7 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.09576/0.09576, allocations: 12.75 MB / 271.9 MB, free: 496 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.774e-06/1.774e-06, allocations: 0 / 403.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.209e-05, allocations: 2.281 kB / 403.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.002054/0.002086, allocations: 0.612 MB / 403.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.002251, allocations: 15.95 kB / 403.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.002282, allocations: 0 / 403.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.002311, allocations: 3.938 kB / 403.8 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 1.79e-05/0.002329, allocations: 0 / 403.8 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.002454, allocations: 7.938 kB / 403.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.846e-05/0.002503, allocations: 7.938 kB / 403.9 MB, free: 7.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.002555, allocations: 11.98 kB / 403.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.002591, allocations: 3.938 kB / 403.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.00264, allocations: 0 / 403.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.002665, allocations: 4 kB / 403.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-06/0.002672, allocations: 0 / 403.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.002688, allocations: 0 / 403.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.002707, allocations: 0 / 403.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.299e-05/0.00277, allocations: 11.98 kB / 403.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002772, allocations: 0 / 403.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002773, allocations: 0 / 403.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.002777, allocations: 0 / 403.9 MB, free: 7.289 MB / 330.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.0004616/0.003238, allocations: 247.3 kB / 404.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.003282, allocations: 11.98 kB / 404.1 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.003316, allocations: 4.891 kB / 404.1 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.003443, allocations: 117.7 kB / 404.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.003455, allocations: 384 / 404.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.003473, allocations: 384 / 404.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.003571, allocations: 34.25 kB / 404.3 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00358, allocations: 192 / 404.3 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003588, allocations: 4.312 kB / 404.3 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.003596, allocations: 4.375 kB / 404.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.003617, allocations: 7.938 kB / 404.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.003911, allocations: 184.6 kB / 404.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.003969, allocations: 26.55 kB / 404.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.003988, allocations: 4.859 kB / 404.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.003999, allocations: 0 / 404.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.004042, allocations: 34.62 kB / 404.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.004043, allocations: 0 / 404.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001728/0.004216, allocations: 37.62 kB / 404.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.004278, allocations: 59.34 kB / 404.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.004385, allocations: 97.98 kB / 404.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.004408, allocations: 29.7 kB / 404.8 MB, free: 6.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.00447, allocations: 88.08 kB / 404.9 MB, free: 6.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.004479, allocations: 3.953 kB / 404.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.004517, allocations: 17.72 kB / 404.9 MB, free: 6.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.004692, allocations: 310.8 kB / 405.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.004707, allocations: 4 kB / 405.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.004732, allocations: 17.72 kB / 405.2 MB, free: 5.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.004864, allocations: 25.73 kB / 405.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004865, allocations: 4 kB / 405.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.664e-05/0.004942, allocations: 45.64 kB / 405.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.004954, allocations: 7.938 kB / 405.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.004963, allocations: 7.922 kB / 405.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.004977, allocations: 4.234 kB / 405.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.005044, allocations: 4 kB / 405.3 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.005051, allocations: 0 / 405.3 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.005066, allocations: 0 / 405.3 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.005073, allocations: 7.938 kB / 405.3 MB, free: 5.676 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 0.0001466/0.00522, allocations: 124.5 kB / 405.4 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.005243, allocations: 4 kB / 405.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.005264, allocations: 11.09 kB / 405.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.005265, allocations: 0 / 405.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.005272, allocations: 3.984 kB / 405.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.005273, allocations: 0 / 405.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.005412, allocations: 97.33 kB / 405.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005413, allocations: 3.938 kB / 405.5 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.005462, allocations: 4 kB / 405.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005463, allocations: 0 / 405.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.00547, allocations: 4 kB / 405.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.005474, allocations: 3.938 kB / 405.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.005477, allocations: 3.984 kB / 405.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.005636, allocations: 139.5 kB / 405.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.00564, allocations: 3.938 kB / 405.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.005651, allocations: 0 / 405.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.005702, allocations: 11.95 kB / 405.7 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.005713, allocations: 0 / 405.7 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.005716, allocations: 0 / 405.7 MB, free: 5.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.005769, allocations: 79.28 kB / 405.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005769, allocations: 4.094 kB / 405.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.005983, allocations: 0 / 405.8 MB, free: 5.141 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 0.0001226/0.006106, allocations: 103.1 kB / 405.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.168e-05/0.006178, allocations: 11.98 kB / 405.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006179, allocations: 0 / 405.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.006188, allocations: 3.938 kB / 405.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.0064, allocations: 4 kB / 405.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.00679, allocations: 121 kB / 406 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.006852, allocations: 55.36 kB / 406.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.296e-05/0.006865, allocations: 0 / 406.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.006888, allocations: 12.44 kB / 406.1 MB, free: 4.781 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006888, allocations: 0 / 406.1 MB, free: 4.781 MB / 330.7 MB Notification: Performance of Templates: time 0.002703/0.009591, allocations: 281.2 kB / 406.4 MB, free: 4.508 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.423299806192517]