Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.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.0008508/0.0008508, 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.0009677/0.0009677, allocations: 221.7 kB / 22.26 MB, free: 3.57 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.9654/0.9654, allocations: 230.6 MB / 256 MB, free: 9.586 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.06793/0.06793, 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.ThermalBody_QHP,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP",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.001015/0.001015, allocations: 72.67 kB / 460.2 MB, free: 26.87 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.0999, allocations: 57.76 MB / 0.5058 GB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003559/0.1035, allocations: 3.553 MB / 0.5093 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.1043, allocations: 422.5 kB / 0.5097 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1045, allocations: 11.94 kB / 0.5097 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1047, allocations: 79.2 kB / 0.5098 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1049, allocations: 166.5 kB / 0.5099 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1051, allocations: 91.88 kB / 0.51 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.1056, allocations: 0.5133 MB / 0.5105 GB, free: 12.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1058, allocations: 128.6 kB / 0.5106 GB, free: 12.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1059, allocations: 167.4 kB / 0.5108 GB, free: 11.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1061, allocations: 167.2 kB / 0.511 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1061, allocations: 32 kB / 0.511 GB, free: 11.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.1062, allocations: 36 kB / 0.511 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.1062, allocations: 71.7 kB / 0.5111 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1063, allocations: 183.3 kB / 0.5113 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1067, allocations: 438.5 kB / 0.5117 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1067, allocations: 0 / 0.5117 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1067, allocations: 0 / 0.5117 GB, free: 10.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1067, allocations: 0 / 0.5117 GB, free: 10.96 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000691/0.1074, allocations: 0.6257 MB / 0.5123 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1074, allocations: 12.03 kB / 0.5123 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.1075, allocations: 62.72 kB / 0.5124 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.1075, allocations: 44.66 kB / 0.5124 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1079, allocations: 254.4 kB / 0.5127 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.108, allocations: 25.03 kB / 0.5127 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.108, allocations: 28.38 kB / 0.5127 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.1084, allocations: 250.7 kB / 0.5129 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1084, allocations: 11.83 kB / 0.513 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1084, allocations: 12 kB / 0.513 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.1084, allocations: 4 kB / 0.513 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.1087, allocations: 194.5 kB / 0.5132 GB, free: 9.379 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.001308/0.11, allocations: 0.7962 MB / 0.5139 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1103, allocations: 205.5 kB / 0.5141 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1104, allocations: 121.3 kB / 0.5142 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1104, allocations: 240 / 0.5142 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1104, allocations: 34.8 kB / 0.5143 GB, free: 8.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.102e-06/0.1104, allocations: 0 / 0.5143 GB, free: 8.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004243/0.1109, allocations: 322.2 kB / 0.5146 GB, free: 7.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1109, allocations: 55.41 kB / 0.5146 GB, free: 7.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1111, allocations: 288.5 kB / 0.5149 GB, free: 7.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1111, allocations: 29.7 kB / 0.5149 GB, free: 7.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.1112, allocations: 180.8 kB / 0.5151 GB, free: 7.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.1113, allocations: 95.17 kB / 0.5152 GB, free: 7.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1113, allocations: 45.7 kB / 0.5152 GB, free: 7.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1114, allocations: 342.8 kB / 0.5156 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1115, allocations: 67.97 kB / 0.5156 GB, free: 6.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.1116, allocations: 67.97 kB / 0.5157 GB, free: 6.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/0.1123, allocations: 399 kB / 0.5161 GB, free: 6.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1123, allocations: 3.938 kB / 0.5161 GB, free: 6.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002828/0.1126, allocations: 249.5 kB / 0.5163 GB, free: 6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1126, allocations: 6.969 kB / 0.5163 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1126, allocations: 3.938 kB / 0.5163 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1127, allocations: 0 / 0.5163 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1128, allocations: 59.91 kB / 0.5164 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1128, allocations: 0 / 0.5164 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.1129, allocations: 27.78 kB / 0.5164 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1129, allocations: 8 kB / 0.5164 GB, free: 5.898 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: skin.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real core.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 (31): * Single equations (assignments): 31 * 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.0002063/0.1131, allocations: 160 kB / 0.5166 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1132, allocations: 31.77 kB / 0.5166 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.1132, allocations: 43.95 kB / 0.5167 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1132, allocations: 4 kB / 0.5167 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1132, allocations: 4 kB / 0.5167 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1132, allocations: 3.984 kB / 0.5167 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1135, allocations: 324.5 kB / 0.517 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1135, allocations: 0 / 0.517 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1137, allocations: 43.97 kB / 0.517 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1137, allocations: 4 kB / 0.517 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1137, allocations: 7.938 kB / 0.517 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1137, allocations: 0 / 0.517 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1137, allocations: 4 kB / 0.517 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1141, allocations: 475.1 kB / 0.5175 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.1142, allocations: 51.86 kB / 0.5175 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1142, allocations: 11.98 kB / 0.5175 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1143, allocations: 4 kB / 0.5175 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.1143, allocations: 15.97 kB / 0.5176 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1144, allocations: 8 kB / 0.5176 GB, free: 4.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1145, allocations: 203.1 kB / 0.5178 GB, free: 4.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1145, allocations: 0 / 0.5178 GB, free: 4.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.1147, allocations: 91.84 kB / 0.5179 GB, free: 4.375 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.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 (27): * Single equations (assignments): 27 * 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.0006368/0.1153, allocations: 1.005 MB / 0.5188 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1156, allocations: 191.9 kB / 0.519 GB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1156, allocations: 4 kB / 0.519 GB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1157, allocations: 96.38 kB / 0.5191 GB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.116, allocations: 60.61 kB / 0.5192 GB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.1187, allocations: 3.007 MB / 0.5221 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1188, allocations: 176.8 kB / 0.5223 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.782e-05/0.1189, allocations: 26.28 kB / 0.5223 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.119, allocations: 99.41 kB / 0.5224 GB, free: 15.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.119, allocations: 0 / 0.5224 GB, free: 15.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08462/0.2036, allocations: 6.952 MB / 0.5292 GB, free: 8.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.105, allocations: 3.938 kB / 0.5292 GB, free: 8.797 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP.fmu) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP.fmu) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.462817189283669]