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.001277/0.001277, allocations: 100.3 kB / 19.7 MB, free: 444 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.001463/0.001463, allocations: 209.7 kB / 22.99 MB, free: 2.984 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.9942/0.9942, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.0777/0.0777, allocations: 17.16 MB / 330.4 MB, free: 0.7109 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.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP") translateModel(Bodylight.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP") [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.001439/0.001439, allocations: 63.91 kB / 460.7 MB, free: 27.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1006, allocations: 57.76 MB / 0.5063 GB, free: 1.281 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003349/0.1039, allocations: 3.542 MB / 0.5097 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005809/0.1045, allocations: 418.5 kB / 0.5101 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1047, allocations: 11.94 kB / 0.5101 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1049, allocations: 79.22 kB / 0.5102 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.105, allocations: 166.5 kB / 0.5104 GB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1052, allocations: 91.86 kB / 0.5105 GB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.1056, allocations: 0.5133 MB / 0.511 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1058, allocations: 124.7 kB / 0.5111 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1059, allocations: 167.4 kB / 0.5113 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1061, allocations: 167.2 kB / 0.5114 GB, free: 12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.1062, allocations: 35.94 kB / 0.5114 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.1062, allocations: 32 kB / 0.5115 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.1062, allocations: 71.7 kB / 0.5115 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1064, allocations: 187.2 kB / 0.5117 GB, free: 11.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1067, allocations: 442.2 kB / 0.5121 GB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1067, allocations: 0 / 0.5121 GB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1067, allocations: 0 / 0.5121 GB, free: 11.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1067, allocations: 0 / 0.5121 GB, free: 11.24 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.0007038/0.1074, allocations: 0.6295 MB / 0.5128 GB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1074, allocations: 12.03 kB / 0.5128 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.1075, allocations: 44.66 kB / 0.5128 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1078, allocations: 246.4 kB / 0.513 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1078, allocations: 21.03 kB / 0.5131 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1078, allocations: 28.36 kB / 0.5131 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1081, allocations: 258.6 kB / 0.5133 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1082, allocations: 8.141 kB / 0.5133 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1082, allocations: 11.94 kB / 0.5134 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1082, allocations: 8 kB / 0.5134 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.1084, allocations: 186.5 kB / 0.5135 GB, free: 9.738 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.0008958/0.1093, allocations: 0.7422 MB / 0.5143 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1096, allocations: 193.6 kB / 0.5145 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1097, allocations: 124 kB / 0.5146 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1098, allocations: 8.172 kB / 0.5146 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1098, allocations: 38.78 kB / 0.5146 GB, free: 8.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.1098, allocations: 0 / 0.5146 GB, free: 8.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004177/0.1102, allocations: 310.3 kB / 0.5149 GB, free: 8.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1102, allocations: 55.41 kB / 0.515 GB, free: 8.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1104, allocations: 240.2 kB / 0.5152 GB, free: 7.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1104, allocations: 29.7 kB / 0.5152 GB, free: 7.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1105, allocations: 192.6 kB / 0.5154 GB, free: 7.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.1105, allocations: 91.17 kB / 0.5155 GB, free: 7.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.1106, allocations: 45.7 kB / 0.5155 GB, free: 7.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1107, allocations: 338.8 kB / 0.5159 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.1108, allocations: 71.97 kB / 0.5159 GB, free: 7.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.1108, allocations: 67.97 kB / 0.516 GB, free: 7.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.1116, allocations: 395 kB / 0.5164 GB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1116, allocations: 4 kB / 0.5164 GB, free: 6.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002697/0.1118, allocations: 249.3 kB / 0.5166 GB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1118, allocations: 8 kB / 0.5166 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1119, allocations: 0 / 0.5166 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1119, allocations: 0 / 0.5166 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.112, allocations: 59.84 kB / 0.5167 GB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.112, allocations: 11.98 kB / 0.5167 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.1121, allocations: 11.89 kB / 0.5167 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1121, allocations: 8 kB / 0.5167 GB, free: 6.383 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.0001604/0.1123, allocations: 160 kB / 0.5169 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1123, allocations: 27.81 kB / 0.5169 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1123, allocations: 46.92 kB / 0.5169 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1123, allocations: 4 kB / 0.5169 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1123, allocations: 0 / 0.5169 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1124, allocations: 0 / 0.5169 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1126, allocations: 277.2 kB / 0.5172 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1126, allocations: 7.875 kB / 0.5172 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1127, allocations: 47.97 kB / 0.5173 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1127, allocations: 4 kB / 0.5173 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1128, allocations: 4 kB / 0.5173 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1128, allocations: 0 / 0.5173 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1128, allocations: 4 kB / 0.5173 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.1132, allocations: 471.1 kB / 0.5177 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.1133, allocations: 51.75 kB / 0.5178 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1133, allocations: 4 kB / 0.5178 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1134, allocations: 8 kB / 0.5178 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.1134, allocations: 11.97 kB / 0.5178 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1134, allocations: 8 kB / 0.5178 GB, free: 5.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.1135, allocations: 175.1 kB / 0.518 GB, free: 5.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1135, allocations: 0 / 0.518 GB, free: 5.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.1137, allocations: 99.78 kB / 0.5181 GB, free: 4.949 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 7.296e-05/0.1138, allocations: 107.1 kB / 0.5182 GB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.114, allocations: 187.9 kB / 0.5183 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.114, allocations: 0 / 0.5183 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.1141, allocations: 95.91 kB / 0.5184 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1144, allocations: 57.77 kB / 0.5185 GB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009121/0.1153, allocations: 0.8372 MB / 0.5193 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1154, allocations: 176.8 kB / 0.5195 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.1155, allocations: 19.44 kB / 0.5195 GB, free: 3.426 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.1155, allocations: 4 kB / 0.5195 GB, free: 3.422 MB / 378.7 MB Notification: Performance of Templates: time 0.003829/0.1193, allocations: 3.722 MB / 0.5231 GB, free: 15.71 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (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 & ./Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.961925811134279]