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.0007808/0.0007808, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.0019, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007102/0.0007102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008923/0.001602, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09702/1.098, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.09846/0.09846, allocations: 12.75 MB / 256.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01253/0.111, allocations: 4.825 MB / 261.5 MB, free: 13.25 MB / 266.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.323e-06/1.323e-06, allocations: 0 / 262.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.319e-05, allocations: 9.688 kB / 262.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.0009488/0.000962, allocations: 0.6625 MB / 263.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 3.974e-05/0.001002, allocations: 15.97 kB / 263.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.001015, allocations: 0 / 263.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.00103, allocations: 3.938 kB / 263.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.001035, allocations: 0 / 263.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.037e-05/0.001076, allocations: 3.984 kB / 263.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.517e-05/0.001121, allocations: 7.938 kB / 263.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.001154, allocations: 11.98 kB / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.001193, allocations: 4 kB / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.001235, allocations: 4 kB / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.001251, allocations: 0 / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.001256, allocations: 0 / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.001266, allocations: 0 / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.001283, allocations: 3.938 kB / 263.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.358e-05/0.001336, allocations: 7.984 kB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.001348, allocations: 0 / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.001349, allocations: 0 / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.001358, allocations: 0 / 263.6 MB, free: 11.14 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.0002818/0.00164, allocations: 224.7 kB / 263.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.534e-05/0.001666, allocations: 8.031 kB / 263.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.001688, allocations: 4.938 kB / 263.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.759e-05/0.001755, allocations: 109.7 kB / 264 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.001764, allocations: 384 / 264 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.001778, allocations: 8.375 kB / 264 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.481e-05/0.001833, allocations: 34.25 kB / 264 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-06/0.001838, allocations: 192 / 264 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.001844, allocations: 4.375 kB / 264 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00185, allocations: 8.359 kB / 264 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.222e-05/0.001862, allocations: 3.938 kB / 264 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.002003, allocations: 140.3 kB / 264.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.002037, allocations: 18.52 kB / 264.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-06/0.002046, allocations: 4.859 kB / 264.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.002053, allocations: 8.047 kB / 264.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.002074, allocations: 34.56 kB / 264.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002075, allocations: 0 / 264.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 7.867e-05/0.002153, allocations: 29.7 kB / 264.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.002188, allocations: 63.34 kB / 264.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.002247, allocations: 110.7 kB / 264.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.002254, allocations: 29.7 kB / 264.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.002284, allocations: 88.03 kB / 264.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.00229, allocations: 0 / 264.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.002308, allocations: 13.72 kB / 264.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.002371, allocations: 318.8 kB / 264.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.002376, allocations: 4 kB / 264.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.002387, allocations: 13.72 kB / 264.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.002417, allocations: 25.69 kB / 264.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.002418, allocations: 0 / 264.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.463e-05/0.002453, allocations: 37.69 kB / 265 MB, free: 9.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.002462, allocations: 8 kB / 265 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.002466, allocations: 0 / 265 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.002473, allocations: 0 / 265 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.00257, allocations: 11.94 kB / 265 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.002573, allocations: 7.922 kB / 265 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.002585, allocations: 3.953 kB / 265 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.002588, allocations: 64 / 265 MB, free: 9.629 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 6.678e-05/0.002655, allocations: 117.8 kB / 265.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.002665, allocations: 0 / 265.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.002681, allocations: 11.16 kB / 265.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.002683, allocations: 3.938 kB / 265.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.002684, allocations: 0 / 265.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.002687, allocations: 0 / 265.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.746e-05/0.002754, allocations: 69.89 kB / 265.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.002754, allocations: 0 / 265.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.002791, allocations: 4 kB / 265.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-06/0.002795, allocations: 4 kB / 265.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.002796, allocations: 0 / 265.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.002803, allocations: 4 kB / 265.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.002806, allocations: 3.938 kB / 265.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.002806, allocations: 0 / 265.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.002882, allocations: 139.5 kB / 265.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-06/0.002888, allocations: 0 / 265.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.002911, allocations: 0 / 265.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.00292, allocations: 15.86 kB / 265.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.002927, allocations: 0 / 265.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.885e-06/0.002935, allocations: 12.92 kB / 265.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.002935, allocations: 0 / 265.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001073/0.003042, allocations: 4 kB / 265.4 MB, free: 9.199 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 4.823e-05/0.00309, allocations: 72.42 kB / 265.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.091e-05/0.003131, allocations: 13.22 kB / 265.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.003137, allocations: 4 kB / 265.5 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.003143, allocations: 8.797 kB / 265.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.59e-05/0.003239, allocations: 4 kB / 265.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.003441, allocations: 129.4 kB / 265.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.507e-05/0.003466, allocations: 51.36 kB / 265.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.546e-05/0.003481, allocations: 4 kB / 265.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.003508, allocations: 47.38 kB / 265.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.003508, allocations: 0 / 265.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of Templates: time 0.001542/0.00505, allocations: 379.5 kB / 266.1 MB, free: 8.449 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.4210018757730722]