Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.MuscleHeat.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.0008803/0.0008803, allocations: 101.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.0009087/0.0009087, allocations: 221.8 kB / 22.25 MB, free: 3.578 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 0.9854/0.9854, allocations: 230.6 MB / 256 MB, free: 9.59 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.07041/0.07041, allocations: 17.16 MB / 329.6 MB, free: 0.7148 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.Thermal.Examples.MuscleHeat,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Thermal.Examples.MuscleHeat,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_MuscleHeat",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.001004/0.001004, allocations: 71.89 kB / 460.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09085, allocations: 57.77 MB / 0.5058 GB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002537/0.09338, allocations: 2.064 MB / 0.5078 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.09367, allocations: 107.6 kB / 0.5079 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.09374, allocations: 0 / 0.5079 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.09385, allocations: 23.78 kB / 0.5079 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.09391, allocations: 31.7 kB / 0.508 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.09403, allocations: 27.97 kB / 0.508 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.0942, allocations: 119.3 kB / 0.5081 GB, free: 14.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.09432, allocations: 27.97 kB / 0.5081 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.09435, allocations: 35.92 kB / 0.5082 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.09444, allocations: 35.8 kB / 0.5082 GB, free: 14.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.09445, allocations: 4 kB / 0.5082 GB, free: 14.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.09447, allocations: 8 kB / 0.5082 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.09449, allocations: 19.92 kB / 0.5082 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.09454, allocations: 35.86 kB / 0.5083 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.09467, allocations: 95.86 kB / 0.5084 GB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.09468, allocations: 0 / 0.5084 GB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09468, allocations: 0 / 0.5084 GB, free: 14.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.09469, allocations: 4 kB / 0.5084 GB, free: 14.37 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004171/0.0951, allocations: 333.9 kB / 0.5087 GB, free: 14.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.09514, allocations: 8.031 kB / 0.5087 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.09518, allocations: 38.75 kB / 0.5087 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.09521, allocations: 8.891 kB / 0.5087 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.09539, allocations: 141.6 kB / 0.5089 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.0954, allocations: 8.375 kB / 0.5089 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.09543, allocations: 8.359 kB / 0.5089 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.09555, allocations: 74.23 kB / 0.509 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.09556, allocations: 3.938 kB / 0.509 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.09557, allocations: 4 kB / 0.509 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.09558, allocations: 4 kB / 0.509 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.09565, allocations: 39.92 kB / 0.509 GB, free: 13.64 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.09634, allocations: 311.7 kB / 0.5093 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.09645, allocations: 66.44 kB / 0.5094 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.09648, allocations: 16.98 kB / 0.5094 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.09649, allocations: 8 kB / 0.5094 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.09651, allocations: 38.55 kB / 0.5094 GB, free: 13.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.09651, allocations: 0 / 0.5094 GB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001665/0.09668, allocations: 85.55 kB / 0.5095 GB, free: 13.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.09671, allocations: 55.39 kB / 0.5096 GB, free: 12.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.0968, allocations: 144.2 kB / 0.5097 GB, free: 12.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.09681, allocations: 25.7 kB / 0.5097 GB, free: 12.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.09685, allocations: 104.2 kB / 0.5098 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.09687, allocations: 11.86 kB / 0.5098 GB, free: 12.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.0969, allocations: 21.66 kB / 0.5099 GB, free: 12.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.09698, allocations: 322.8 kB / 0.5102 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.097, allocations: 16 kB / 0.5102 GB, free: 12.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.09702, allocations: 8 kB / 0.5102 GB, free: 12.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.09722, allocations: 72.83 kB / 0.5103 GB, free: 12.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.09722, allocations: 0 / 0.5103 GB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.036e-05/0.0973, allocations: 73.58 kB / 0.5103 GB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.09732, allocations: 6.969 kB / 0.5103 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.09732, allocations: 0 / 0.5103 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.09733, allocations: 0 / 0.5103 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.09739, allocations: 12 kB / 0.5104 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.0974, allocations: 7.922 kB / 0.5104 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.09742, allocations: 11.89 kB / 0.5104 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.09742, allocations: 4 kB / 0.5104 GB, free: 12.12 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001188/0.09754, allocations: 117.8 kB / 0.5105 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.09756, allocations: 7.953 kB / 0.5105 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.09758, allocations: 12.41 kB / 0.5105 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.09758, allocations: 0 / 0.5105 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.09759, allocations: 4.375 kB / 0.5105 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.09759, allocations: 11.98 kB / 0.5105 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.09772, allocations: 152.7 kB / 0.5107 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.09772, allocations: 4 kB / 0.5107 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.09777, allocations: 11.94 kB / 0.5107 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.09777, allocations: 0 / 0.5107 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.09778, allocations: 3.938 kB / 0.5107 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.09778, allocations: 0 / 0.5107 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.09778, allocations: 3.938 kB / 0.5107 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.09794, allocations: 179.5 kB / 0.5109 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.09796, allocations: 19.95 kB / 0.5109 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.09798, allocations: 0 / 0.5109 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.09801, allocations: 4.062 kB / 0.5109 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.09803, allocations: 7.922 kB / 0.5109 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.09803, allocations: 4 kB / 0.5109 GB, free: 11.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.09808, allocations: 109.8 kB / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09808, allocations: 0 / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000155/0.09824, allocations: 16 kB / 0.511 GB, free: 11.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * 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 (5): * Single equations (assignments): 5 * 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.0003241/0.09856, allocations: 0.7162 MB / 0.5117 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.946e-05/0.09866, allocations: 35.94 kB / 0.5118 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09866, allocations: 0 / 0.5118 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.09868, allocations: 19.92 kB / 0.5118 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.09894, allocations: 36.23 kB / 0.5118 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1001, allocations: 1.511 MB / 0.5133 GB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.847e-05/0.1002, allocations: 79.31 kB / 0.5134 GB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.1002, allocations: 4.438 kB / 0.5134 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1003, allocations: 27.42 kB / 0.5134 GB, free: 8.848 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1003, allocations: 0 / 0.5134 GB, free: 8.848 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09611/0.1964, allocations: 2.917 MB / 0.5162 GB, free: 6.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.868, allocations: 14.11 kB / 0.5163 GB, free: 6.043 MB / 378.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.MuscleHeat.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Thermal_Examples_MuscleHeat.fmu) > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ../Bodylight_Bodylight_Thermal_Examples_MuscleHeat.fmu) > Bodylight_Bodylight.Thermal.Examples.MuscleHeat_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.202103724703193]