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.002518/0.002518, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.003608/0.003608, allocations: 226.9 kB / 22.25 MB, free: 3.586 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.806/1.806, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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.1026/0.1026, allocations: 17.17 MB / 329.6 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.00391/0.00391, allocations: 71.89 kB / 460.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1182, allocations: 57.78 MB / 0.5063 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.005315/0.1235, allocations: 3.535 MB / 0.5098 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.1243, allocations: 426.5 kB / 0.5102 GB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1244, allocations: 11.94 kB / 0.5102 GB, free: 12.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1246, allocations: 83.2 kB / 0.5103 GB, free: 12.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1249, allocations: 162.5 kB / 0.5104 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1252, allocations: 95.86 kB / 0.5105 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.1258, allocations: 0.5133 MB / 0.511 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.126, allocations: 120.6 kB / 0.5111 GB, free: 11.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1262, allocations: 163.5 kB / 0.5113 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1265, allocations: 175.1 kB / 0.5114 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.1266, allocations: 32 kB / 0.5115 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.1267, allocations: 36 kB / 0.5115 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.1267, allocations: 79.69 kB / 0.5116 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1269, allocations: 175.3 kB / 0.5117 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.1275, allocations: 442.2 kB / 0.5122 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1275, allocations: 3.984 kB / 0.5122 GB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1275, allocations: 0 / 0.5122 GB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1275, allocations: 0 / 0.5122 GB, free: 10.45 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.001138/0.1286, allocations: 0.6257 MB / 0.5128 GB, free: 9.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1287, allocations: 8.031 kB / 0.5128 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.538e-05/0.1288, allocations: 48.66 kB / 0.5128 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1292, allocations: 246.4 kB / 0.5131 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1292, allocations: 17.03 kB / 0.5131 GB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.1293, allocations: 36.31 kB / 0.5131 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.1298, allocations: 246.7 kB / 0.5134 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1298, allocations: 4.141 kB / 0.5134 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.1298, allocations: 19.94 kB / 0.5134 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1298, allocations: 8 kB / 0.5134 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.1302, allocations: 186.5 kB / 0.5136 GB, free: 8.957 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.001467/0.1317, allocations: 0.7383 MB / 0.5143 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.1321, allocations: 197.6 kB / 0.5145 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1323, allocations: 129.2 kB / 0.5146 GB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1324, allocations: 4.234 kB / 0.5146 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1324, allocations: 34.78 kB / 0.5146 GB, free: 7.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.1324, allocations: 3.938 kB / 0.5146 GB, free: 7.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006719/0.1331, allocations: 310.3 kB / 0.5149 GB, free: 7.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1331, allocations: 59.41 kB / 0.515 GB, free: 7.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.1334, allocations: 240.2 kB / 0.5152 GB, free: 7.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.1334, allocations: 33.7 kB / 0.5153 GB, free: 7.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1336, allocations: 180.6 kB / 0.5154 GB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1337, allocations: 107.2 kB / 0.5155 GB, free: 6.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.1338, allocations: 37.72 kB / 0.5156 GB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.134, allocations: 342.8 kB / 0.5159 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1342, allocations: 63.98 kB / 0.516 GB, free: 6.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1343, allocations: 71.97 kB / 0.516 GB, free: 6.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.1356, allocations: 395 kB / 0.5164 GB, free: 5.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1356, allocations: 0 / 0.5164 GB, free: 5.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000443/0.1361, allocations: 261.3 kB / 0.5166 GB, free: 5.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1361, allocations: 4 kB / 0.5167 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1361, allocations: 0 / 0.5167 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1361, allocations: 7.938 kB / 0.5167 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.1364, allocations: 47.92 kB / 0.5167 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1364, allocations: 0 / 0.5167 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1365, allocations: 19.83 kB / 0.5167 GB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1365, allocations: 8 kB / 0.5167 GB, free: 5.602 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.0002493/0.1368, allocations: 160 kB / 0.5169 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1368, allocations: 27.81 kB / 0.5169 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1369, allocations: 42.98 kB / 0.517 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1369, allocations: 0 / 0.517 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1369, allocations: 0 / 0.517 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.137, allocations: 7.984 kB / 0.517 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.1374, allocations: 281.1 kB / 0.5172 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1374, allocations: 3.938 kB / 0.5172 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.1377, allocations: 43.98 kB / 0.5173 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1377, allocations: 3.938 kB / 0.5173 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.1377, allocations: 8 kB / 0.5173 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1377, allocations: 0 / 0.5173 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.1377, allocations: 11.92 kB / 0.5173 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.1384, allocations: 471.2 kB / 0.5177 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1385, allocations: 43.77 kB / 0.5178 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.1386, allocations: 4 kB / 0.5178 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1387, allocations: 7.984 kB / 0.5178 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1388, allocations: 19.97 kB / 0.5178 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1388, allocations: 8 kB / 0.5178 GB, free: 4.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1389, allocations: 171.1 kB / 0.518 GB, free: 4.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 0 / 0.518 GB, free: 4.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.1393, allocations: 95.84 kB / 0.5181 GB, free: 4.168 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.0001168/0.1394, allocations: 95.12 kB / 0.5182 GB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.1398, allocations: 191.9 kB / 0.5184 GB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1398, allocations: 0 / 0.5184 GB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.14, allocations: 95.91 kB / 0.5184 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1404, allocations: 56.67 kB / 0.5185 GB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1419, allocations: 0.8042 MB / 0.5193 GB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.1421, allocations: 176.8 kB / 0.5195 GB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1422, allocations: 21.95 kB / 0.5195 GB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.1422, allocations: 19.44 kB / 0.5195 GB, free: 2.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1422, allocations: 3.938 kB / 0.5195 GB, free: 2.656 MB / 378.7 MB Notification: Performance of Templates: time 0.007655/0.1499, allocations: 2.735 MB / 0.5222 GB, free: 15.97 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.726886593271047]