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.0009753/0.0009753, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001091/0.001091, allocations: 169 kB / 23.03 MB, free: 1.547 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.085/1.085, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.06751/0.06751, allocations: 12.76 MB / 272.7 MB, free: 284 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.924e-06/1.924e-06, allocations: 3.938 kB / 346.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.153e-05, allocations: 6.312 kB / 346.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.002022/0.002054, allocations: 0.6218 MB / 347.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.002242, allocations: 7.984 kB / 347.5 MB, free: 488 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.002282, allocations: 0 / 347.5 MB, free: 488 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.002325, allocations: 3.984 kB / 347.5 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.931e-05/0.002355, allocations: 7.938 kB / 347.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.002517, allocations: 15.92 kB / 347.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.002587, allocations: 0 / 347.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.002638, allocations: 4 kB / 347.5 MB, free: 456 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.002678, allocations: 3.984 kB / 347.5 MB, free: 452 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.002745, allocations: 4 kB / 347.5 MB, free: 448 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.002772, allocations: 0 / 347.5 MB, free: 448 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.002781, allocations: 0 / 347.5 MB, free: 448 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.0028, allocations: 0 / 347.5 MB, free: 448 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.002827, allocations: 3.938 kB / 347.5 MB, free: 444 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.388e-05/0.002901, allocations: 15.98 kB / 347.5 MB, free: 428 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002904, allocations: 0 / 347.5 MB, free: 428 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002905, allocations: 0 / 347.5 MB, free: 428 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.002909, allocations: 0 / 347.5 MB, free: 428 kB / 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.0004526/0.003362, allocations: 352 kB / 347.9 MB, free: 32 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.003426, allocations: 11.98 kB / 347.9 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.003491, allocations: 8.938 kB / 347.9 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.003678, allocations: 105 kB / 348 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.003695, allocations: 384 / 348 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.003733, allocations: 4.375 kB / 348 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.003851, allocations: 38.19 kB / 348 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.00386, allocations: 4.188 kB / 348 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.00387, allocations: 384 / 348 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.00388, allocations: 384 / 348 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.003898, allocations: 3.938 kB / 348 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.004255, allocations: 243.8 kB / 348.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.00433, allocations: 31 kB / 348.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.004356, allocations: 7.688 kB / 348.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.004369, allocations: 4.062 kB / 348.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.004413, allocations: 33.39 kB / 348.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.004414, allocations: 4 kB / 348.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002274/0.004641, allocations: 37.62 kB / 348.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.004698, allocations: 55.41 kB / 348.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.004841, allocations: 157.9 kB / 348.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.004864, allocations: 25.7 kB / 348.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.004938, allocations: 130.8 kB / 348.7 MB, free: 15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.004954, allocations: 3.984 kB / 348.8 MB, free: 15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.005003, allocations: 31.27 kB / 348.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.005189, allocations: 492.1 kB / 349.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.005207, allocations: 4 kB / 349.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.005238, allocations: 23.69 kB / 349.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.005305, allocations: 31.3 kB / 349.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005308, allocations: 0 / 349.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.559e-05/0.005403, allocations: 49.67 kB / 349.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.005425, allocations: 4.625 kB / 349.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/0.005435, allocations: 7.938 kB / 349.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.005458, allocations: 0 / 349.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.005548, allocations: 4 kB / 349.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.005557, allocations: 8.078 kB / 349.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.005577, allocations: 7.938 kB / 349.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.005585, allocations: 0 / 349.4 MB, free: 14.31 MB / 282.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.000138/0.005722, allocations: 156.5 kB / 349.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.005753, allocations: 8 kB / 349.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.005788, allocations: 7.094 kB / 349.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.005791, allocations: 0 / 349.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.005796, allocations: 0 / 349.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.005802, allocations: 0 / 349.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.005953, allocations: 116.6 kB / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.005956, allocations: 8 kB / 349.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.006032, allocations: 4 kB / 349.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.006035, allocations: 0 / 349.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.006054, allocations: 0 / 349.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.006059, allocations: 3.938 kB / 349.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006061, allocations: 4 kB / 349.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.00628, allocations: 187.9 kB / 349.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.006289, allocations: 0 / 349.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.006306, allocations: 4 kB / 349.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.006353, allocations: 8 kB / 349.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.006372, allocations: 3.938 kB / 349.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.006377, allocations: 0 / 349.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.006434, allocations: 127.2 kB / 350 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006435, allocations: 0 / 350 MB, free: 13.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.006643, allocations: 4 kB / 350 MB, free: 13.62 MB / 282.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.0001264/0.006769, allocations: 91.25 kB / 350.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.006875, allocations: 15.69 kB / 350.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006877, allocations: 0 / 350.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.006889, allocations: 15.8 kB / 350.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.007148, allocations: 7.938 kB / 350.2 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.007626, allocations: 130.2 kB / 350.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.007676, allocations: 55.34 kB / 350.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.6e-05/0.007692, allocations: 0 / 350.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.007725, allocations: 12.5 kB / 350.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.007727, allocations: 0 / 350.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of Templates: time 0.002755/0.01048, allocations: 293.6 kB / 350.6 MB, free: 12.95 MB / 282.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.8191242618486285]