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.00194/0.00194, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002152/0.002152, allocations: 229.8 kB / 22.25 MB, free: 3.703 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.898/1.898, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.1065/0.1065, allocations: 17.16 MB / 329.6 MB, free: 0.6992 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003831/0.003831, allocations: 75.88 kB / 460.8 MB, free: 26.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1251, allocations: 57.77 MB / 0.5064 GB, free: 420 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.002419/0.1275, allocations: 0.5958 MB / 0.507 GB, free: 15.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000172/0.1277, allocations: 24.31 kB / 0.507 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.1277, allocations: 0 / 0.507 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.1277, allocations: 4 kB / 0.507 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.1278, allocations: 0 / 0.507 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1279, allocations: 4 kB / 0.507 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.128, allocations: 7.938 kB / 0.507 GB, free: 15.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.128, allocations: 3.984 kB / 0.507 GB, free: 15.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.128, allocations: 4 kB / 0.507 GB, free: 15.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.1281, allocations: 7.922 kB / 0.507 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1281, allocations: 0 / 0.507 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.1281, allocations: 0 / 0.507 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1281, allocations: 4 kB / 0.507 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.1282, allocations: 4 kB / 0.507 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.91e-05/0.1282, allocations: 11.92 kB / 0.507 GB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1282, allocations: 0 / 0.507 GB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1282, allocations: 0 / 0.507 GB, free: 15.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1282, allocations: 0 / 0.507 GB, free: 15.74 MB / 378.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.0005087/0.1288, allocations: 259.2 kB / 0.5073 GB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1288, allocations: 12.03 kB / 0.5073 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1288, allocations: 0.9375 kB / 0.5073 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.129, allocations: 102.5 kB / 0.5074 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.129, allocations: 4.375 kB / 0.5074 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.129, allocations: 384 / 0.5074 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1291, allocations: 42.25 kB / 0.5074 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1291, allocations: 4.125 kB / 0.5074 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1292, allocations: 3.938 kB / 0.5075 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1292, allocations: 3.938 kB / 0.5075 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.1292, allocations: 4 kB / 0.5075 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.1295, allocations: 180.6 kB / 0.5076 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/0.1296, allocations: 14.58 kB / 0.5076 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.1296, allocations: 8.953 kB / 0.5077 GB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1296, allocations: 3.938 kB / 0.5077 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.1296, allocations: 34.5 kB / 0.5077 GB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1297, allocations: 4 kB / 0.5077 GB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.1298, allocations: 41.69 kB / 0.5077 GB, free: 14.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.1299, allocations: 51.41 kB / 0.5078 GB, free: 14.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.13, allocations: 101.8 kB / 0.5079 GB, free: 14.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.13, allocations: 25.7 kB / 0.5079 GB, free: 14.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.1301, allocations: 88.14 kB / 0.508 GB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.1301, allocations: 7.938 kB / 0.508 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.1302, allocations: 13.72 kB / 0.508 GB, free: 14.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.1304, allocations: 314.8 kB / 0.5083 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.1304, allocations: 0 / 0.5083 GB, free: 14.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.1304, allocations: 17.84 kB / 0.5083 GB, free: 14.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1306, allocations: 29.64 kB / 0.5084 GB, free: 14.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1306, allocations: 4 kB / 0.5084 GB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/0.1307, allocations: 49.75 kB / 0.5084 GB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1307, allocations: 8 kB / 0.5084 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1307, allocations: 0 / 0.5084 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1307, allocations: 0 / 0.5084 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.1308, allocations: 8.078 kB / 0.5084 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.1308, allocations: 8 kB / 0.5084 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.1308, allocations: 3.984 kB / 0.5084 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1308, allocations: 0 / 0.5084 GB, free: 14.13 MB / 378.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.0001585/0.131, allocations: 117.8 kB / 0.5085 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.131, allocations: 3.938 kB / 0.5086 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.1311, allocations: 3.156 kB / 0.5086 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1311, allocations: 0 / 0.5086 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1311, allocations: 0 / 0.5086 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1311, allocations: 4 kB / 0.5086 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1313, allocations: 105.3 kB / 0.5087 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1313, allocations: 0 / 0.5087 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.1313, allocations: 4 kB / 0.5087 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.1313, allocations: 7.938 kB / 0.5087 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1313, allocations: 3.938 kB / 0.5087 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1313, allocations: 0 / 0.5087 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1313, allocations: 3.938 kB / 0.5087 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1315, allocations: 131.5 kB / 0.5088 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.1315, allocations: 7.969 kB / 0.5088 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1315, allocations: 4 kB / 0.5088 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.1316, allocations: 4.094 kB / 0.5088 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.1316, allocations: 3.984 kB / 0.5088 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.1316, allocations: 4 kB / 0.5088 GB, free: 13.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.1317, allocations: 75.28 kB / 0.5089 GB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 0 / 0.5089 GB, free: 13.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.1321, allocations: 4 kB / 0.5089 GB, free: 13.6 MB / 378.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.0001255/0.1322, allocations: 91.19 kB / 0.509 GB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.1323, allocations: 19.92 kB / 0.509 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1323, allocations: 0 / 0.509 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.1323, allocations: 8.125 kB / 0.509 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1326, allocations: 0 / 0.509 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.1331, allocations: 125.5 kB / 0.5091 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.1332, allocations: 59.34 kB / 0.5092 GB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.504e-05/0.1332, allocations: 0 / 0.5092 GB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1333, allocations: 7.438 kB / 0.5092 GB, free: 13.23 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1333, allocations: 0 / 0.5092 GB, free: 13.23 MB / 378.7 MB Notification: Performance of Templates: time 0.003385/0.1366, allocations: 266.9 kB / 0.5095 GB, free: 12.98 MB / 378.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.619272890035063]