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.001525/0.001525, allocations: 100.4 kB / 19.7 MB, free: 440 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.00176/0.00176, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.086/1.086, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.07251/0.07251, allocations: 17.17 MB / 330.4 MB, free: 0.7344 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.001428/0.001428, allocations: 67.91 kB / 460.8 MB, free: 26.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09059, allocations: 57.77 MB / 0.5064 GB, free: 1.062 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001427/0.09202, allocations: 0.5997 MB / 0.507 GB, free: 476 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.09217, allocations: 19.91 kB / 0.507 GB, free: 456 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.09221, allocations: 0 / 0.507 GB, free: 456 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.09224, allocations: 0 / 0.507 GB, free: 456 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.09226, allocations: 0 / 0.507 GB, free: 456 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.0924, allocations: 4 kB / 0.507 GB, free: 452 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.09245, allocations: 7.984 kB / 0.507 GB, free: 444 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.0925, allocations: 12.22 kB / 0.507 GB, free: 432 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.09252, allocations: 7.984 kB / 0.507 GB, free: 424 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.09258, allocations: 3.938 kB / 0.507 GB, free: 420 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.0926, allocations: 0 / 0.507 GB, free: 420 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.09261, allocations: 4 kB / 0.507 GB, free: 416 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.09262, allocations: 0 / 0.507 GB, free: 416 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.09265, allocations: 3.984 kB / 0.507 GB, free: 412 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.014e-05/0.09272, allocations: 0 / 0.507 GB, free: 412 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09273, allocations: 0 / 0.507 GB, free: 412 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.09273, allocations: 11.88 kB / 0.507 GB, free: 400 kB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.09274, allocations: 0 / 0.507 GB, free: 400 kB / 362.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.0003927/0.09313, allocations: 263.2 kB / 0.5073 GB, free: 100 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.09317, allocations: 8.031 kB / 0.5073 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.0932, allocations: 0.9375 kB / 0.5073 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.09329, allocations: 106.5 kB / 0.5074 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.0933, allocations: 384 / 0.5074 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.09332, allocations: 384 / 0.5074 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.09341, allocations: 38.25 kB / 0.5074 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.09342, allocations: 192 / 0.5074 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.09343, allocations: 3.938 kB / 0.5074 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09344, allocations: 0 / 0.5074 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.09345, allocations: 11.94 kB / 0.5074 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.0937, allocations: 180.6 kB / 0.5076 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.882e-05/0.09374, allocations: 18.61 kB / 0.5076 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.09375, allocations: 4.859 kB / 0.5076 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.09376, allocations: 3.938 kB / 0.5076 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.09379, allocations: 34.62 kB / 0.5077 GB, free: 15.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.09379, allocations: 0 / 0.5077 GB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.09393, allocations: 41.62 kB / 0.5077 GB, free: 15.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.09396, allocations: 51.41 kB / 0.5078 GB, free: 15.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.09403, allocations: 101.9 kB / 0.5079 GB, free: 15.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.09404, allocations: 29.7 kB / 0.5079 GB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.09407, allocations: 88.12 kB / 0.508 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.09408, allocations: 7.891 kB / 0.508 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.09411, allocations: 17.72 kB / 0.508 GB, free: 15.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.09419, allocations: 310.8 kB / 0.5083 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.0942, allocations: 4 kB / 0.5083 GB, free: 14.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.09422, allocations: 13.7 kB / 0.5083 GB, free: 14.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.09435, allocations: 29.66 kB / 0.5083 GB, free: 14.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.09435, allocations: 4.031 kB / 0.5083 GB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.513e-05/0.09441, allocations: 53.56 kB / 0.5084 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.09442, allocations: 7.125 kB / 0.5084 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.09442, allocations: 0 / 0.5084 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.09444, allocations: 0 / 0.5084 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.0945, allocations: 8 kB / 0.5084 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.0945, allocations: 3.938 kB / 0.5084 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.09451, allocations: 0 / 0.5084 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.09452, allocations: 0 / 0.5084 GB, free: 14.79 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.0001065/0.09462, allocations: 121.9 kB / 0.5085 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.09464, allocations: 7.875 kB / 0.5085 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.09465, allocations: 7.141 kB / 0.5085 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.09465, allocations: 4.234 kB / 0.5085 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.09466, allocations: 0 / 0.5085 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.09466, allocations: 3.984 kB / 0.5085 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.964e-05/0.09474, allocations: 101.3 kB / 0.5086 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.09474, allocations: 4 kB / 0.5086 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.09478, allocations: 8 kB / 0.5087 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09478, allocations: 3.938 kB / 0.5087 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.09479, allocations: 4 kB / 0.5087 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.09479, allocations: 3.984 kB / 0.5087 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.09479, allocations: 0 / 0.5087 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.0949, allocations: 135.5 kB / 0.5088 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.09491, allocations: 3.938 kB / 0.5088 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.09492, allocations: 3.984 kB / 0.5088 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.09494, allocations: 0 / 0.5088 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.09496, allocations: 4.031 kB / 0.5088 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.09496, allocations: 0 / 0.5088 GB, free: 14.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.616e-05/0.09499, allocations: 75.28 kB / 0.5089 GB, free: 14.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09499, allocations: 4.094 kB / 0.5089 GB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.09512, allocations: 4 kB / 0.5089 GB, free: 14.25 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 7.255e-05/0.0952, allocations: 99.17 kB / 0.509 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.482e-05/0.09526, allocations: 11.94 kB / 0.509 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.09526, allocations: 0 / 0.509 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.491e-06/0.09527, allocations: 4 kB / 0.509 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.09542, allocations: 0 / 0.509 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.09574, allocations: 151.5 kB / 0.5091 GB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.09579, allocations: 55.36 kB / 0.5092 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.09581, allocations: 7.438 kB / 0.5092 GB, free: 13.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.09581, allocations: 0 / 0.5092 GB, free: 13.86 MB / 378.7 MB Notification: Performance of Templates: time 0.001356/0.09717, allocations: 477 kB / 0.5097 GB, free: 13.39 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 > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.870880121830851]