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.001001/0.001001, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001139/0.001139, allocations: 223.3 kB / 22.25 MB, free: 3.566 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.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.598 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.06322/0.06322, allocations: 17.15 MB / 329.6 MB, free: 0.7383 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: "" <> buildModelFMU(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,fileNamePrefix="Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,fileNamePrefix="Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue",fmuType="me",version="2.0",platforms={"static"}) [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.0009662/0.0009662, allocations: 71.89 kB / 460.3 MB, free: 26.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09335, allocations: 57.76 MB / 0.5059 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001329/0.09468, allocations: 0.604 MB / 0.5065 GB, free: 356 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.09482, allocations: 19.89 kB / 0.5065 GB, free: 336 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.09484, allocations: 0 / 0.5065 GB, free: 336 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.09487, allocations: 0 / 0.5065 GB, free: 336 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.09489, allocations: 4 kB / 0.5065 GB, free: 332 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.09502, allocations: 11.94 kB / 0.5065 GB, free: 320 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.09507, allocations: 11.94 kB / 0.5065 GB, free: 308 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.09512, allocations: 3.984 kB / 0.5065 GB, free: 304 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.09514, allocations: 0 / 0.5065 GB, free: 304 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.09519, allocations: 4 kB / 0.5065 GB, free: 300 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.0952, allocations: 0 / 0.5065 GB, free: 300 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.09521, allocations: 0 / 0.5065 GB, free: 300 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.09523, allocations: 0 / 0.5065 GB, free: 300 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.09526, allocations: 11.92 kB / 0.5066 GB, free: 288 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.019e-05/0.09532, allocations: 8.266 kB / 0.5066 GB, free: 280 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.09532, allocations: 0 / 0.5066 GB, free: 280 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09533, allocations: 0 / 0.5066 GB, free: 280 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.09533, allocations: 4 kB / 0.5066 GB, free: 276 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.0003383/0.09567, allocations: 251.3 kB / 0.5068 GB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.09571, allocations: 8.031 kB / 0.5068 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.09576, allocations: 38.69 kB / 0.5069 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.09578, allocations: 0.9375 kB / 0.5069 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.327e-05/0.09586, allocations: 102.5 kB / 0.5069 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.09587, allocations: 4.375 kB / 0.507 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.09588, allocations: 4.312 kB / 0.507 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.09596, allocations: 38.25 kB / 0.507 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.09597, allocations: 7.875 kB / 0.507 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.09597, allocations: 4 kB / 0.507 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09598, allocations: 0 / 0.507 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.096, allocations: 4 kB / 0.507 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.09627, allocations: 208.1 kB / 0.5072 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.09633, allocations: 30.45 kB / 0.5072 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.09635, allocations: 12.91 kB / 0.5072 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.09636, allocations: 0 / 0.5072 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.09639, allocations: 34.56 kB / 0.5073 GB, free: 15.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.09639, allocations: 0 / 0.5073 GB, free: 15.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.09653, allocations: 49.64 kB / 0.5073 GB, free: 15.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003605/0.09689, allocations: 51.41 kB / 0.5074 GB, free: 15.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.09695, allocations: 105.7 kB / 0.5075 GB, free: 15.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.09697, allocations: 29.7 kB / 0.5075 GB, free: 15.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.097, allocations: 88.08 kB / 0.5076 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.09701, allocations: 7.953 kB / 0.5076 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.09703, allocations: 17.66 kB / 0.5076 GB, free: 15.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.09711, allocations: 310.8 kB / 0.5079 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.09713, allocations: 11.98 kB / 0.5079 GB, free: 14.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.09715, allocations: 13.72 kB / 0.5079 GB, free: 14.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.09729, allocations: 33.84 kB / 0.508 GB, free: 14.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.09729, allocations: 3.938 kB / 0.508 GB, free: 14.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.701e-05/0.09735, allocations: 53.62 kB / 0.508 GB, free: 14.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.09736, allocations: 6.812 kB / 0.508 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.09737, allocations: 0 / 0.508 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.09738, allocations: 0 / 0.508 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.09745, allocations: 11.98 kB / 0.508 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.09745, allocations: 0 / 0.508 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.09746, allocations: 0 / 0.508 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.09747, allocations: 8.031 kB / 0.508 GB, free: 14.54 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: $outputAlias_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 (4): * Single equations (assignments): 4 * 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.0001366/0.09761, allocations: 117.7 kB / 0.5082 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.09762, allocations: 7.953 kB / 0.5082 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.09764, allocations: 3.312 kB / 0.5082 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.09764, allocations: 0 / 0.5082 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.09765, allocations: 4 kB / 0.5082 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.09765, allocations: 0 / 0.5082 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.09782, allocations: 245.6 kB / 0.5084 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.09782, allocations: 0 / 0.5084 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.09788, allocations: 8 kB / 0.5084 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.09788, allocations: 4.031 kB / 0.5084 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.09789, allocations: 0 / 0.5084 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09789, allocations: 3.938 kB / 0.5084 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09789, allocations: 0 / 0.5084 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.098, allocations: 147.5 kB / 0.5086 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.09801, allocations: 3.938 kB / 0.5086 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.09802, allocations: 0 / 0.5086 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.09804, allocations: 0 / 0.5086 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.09806, allocations: 8.344 kB / 0.5086 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.09806, allocations: 0 / 0.5086 GB, free: 13.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.674e-05/0.09809, allocations: 87.36 kB / 0.5087 GB, free: 13.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09809, allocations: 0 / 0.5087 GB, free: 13.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.09824, allocations: 7.938 kB / 0.5087 GB, free: 13.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_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 (2): * Single equations (assignments): 2 * 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.0002523/0.09849, allocations: 0.6733 MB / 0.5093 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.09856, allocations: 15.98 kB / 0.5093 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.09856, allocations: 3.938 kB / 0.5093 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.09857, allocations: 7.938 kB / 0.5094 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.09872, allocations: 8 kB / 0.5094 GB, free: 13.1 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:329:5-330:56:writable] Warning: Variable y has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.09949, allocations: 1.185 MB / 0.5105 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.09953, allocations: 59.34 kB / 0.5106 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.486e-05/0.09954, allocations: 0 / 0.5106 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.09957, allocations: 11.44 kB / 0.5106 GB, free: 11.74 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.09957, allocations: 0 / 0.5106 GB, free: 11.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07707/0.1766, allocations: 1.639 MB / 0.5122 GB, free: 10.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.112, allocations: 7.984 kB / 0.5122 GB, free: 10.19 MB / 378.7 MB " [Timeout remaining time 653] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-05 ../Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue.fmu) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.006 ../Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue.fmu) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45820387173444]