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.00149/0.00149, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001192/0.001192, allocations: 169 kB / 23.27 MB, free: 1.227 MB / 18.57 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.003/1.003, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.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.07034/0.07034, allocations: 12.76 MB / 273 MB, free: 136 kB / 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: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 3.984 kB / 347.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.55e-05, allocations: 2.312 kB / 347.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003509/0.003535, allocations: 3.881 MB / 351 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.00448, allocations: 422.4 kB / 351.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.004664, allocations: 11.94 kB / 351.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.004837, allocations: 79.22 kB / 351.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.005069, allocations: 174.4 kB / 351.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.005288, allocations: 95.84 kB / 351.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.005746, allocations: 0.544 MB / 352.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.00595, allocations: 112.7 kB / 352.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.006212, allocations: 259.5 kB / 352.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006392, allocations: 147.6 kB / 352.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.006433, allocations: 36 kB / 352.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.006476, allocations: 32 kB / 352.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.006524, allocations: 71.69 kB / 353 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.006635, allocations: 155.7 kB / 353.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.006907, allocations: 298.9 kB / 353.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.00691, allocations: 0 / 353.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006911, allocations: 0 / 353.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.006917, allocations: 0 / 353.4 MB, free: 11.93 MB / 330.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.0006921/0.007609, allocations: 0.7295 MB / 354.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.007649, allocations: 15.98 kB / 354.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.007721, allocations: 72.59 kB / 354.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.007977, allocations: 256.5 kB / 354.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.008003, allocations: 21.03 kB / 354.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.008035, allocations: 24.38 kB / 354.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.008257, allocations: 187.3 kB / 354.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.008268, allocations: 192 / 354.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.008286, allocations: 12.36 kB / 354.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.008296, allocations: 12.36 kB / 354.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.008407, allocations: 88.45 kB / 354.8 MB, free: 10.45 MB / 330.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.0008511/0.009258, allocations: 0.7108 MB / 355.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.009461, allocations: 131.5 kB / 355.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.009543, allocations: 72.17 kB / 355.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.009559, allocations: 12.17 kB / 355.7 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.009584, allocations: 37.62 kB / 355.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.009585, allocations: 0 / 355.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002855/0.009871, allocations: 205.5 kB / 356 MB, free: 9.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.009898, allocations: 59.41 kB / 356 MB, free: 9.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01004, allocations: 290.2 kB / 356.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.01006, allocations: 29.7 kB / 356.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.01015, allocations: 231.3 kB / 356.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.01021, allocations: 99.14 kB / 356.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.01027, allocations: 51.34 kB / 356.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01039, allocations: 0.5078 MB / 357.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.01044, allocations: 31.91 kB / 357.3 MB, free: 7.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.01048, allocations: 32.2 kB / 357.3 MB, free: 7.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01065, allocations: 144.3 kB / 357.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01065, allocations: 4 kB / 357.4 MB, free: 7.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001739/0.01082, allocations: 169.5 kB / 357.6 MB, free: 7.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01083, allocations: 4 kB / 357.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01084, allocations: 3.938 kB / 357.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01085, allocations: 4 kB / 357.6 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.011, allocations: 55.92 kB / 357.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.011, allocations: 0 / 357.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.01106, allocations: 19.84 kB / 357.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.01107, allocations: 4 kB / 357.7 MB, free: 7.453 MB / 330.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.0001534/0.01122, allocations: 189.1 kB / 357.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.01127, allocations: 35.81 kB / 357.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.01132, allocations: 46.92 kB / 358 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01132, allocations: 4 kB / 358 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01133, allocations: 0 / 358 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01133, allocations: 3.984 kB / 358 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.01157, allocations: 228.9 kB / 358.2 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01157, allocations: 4 kB / 358.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.01172, allocations: 51.91 kB / 358.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01172, allocations: 0 / 358.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.01174, allocations: 11.94 kB / 358.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01174, allocations: 0 / 358.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01174, allocations: 3.938 kB / 358.3 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01207, allocations: 363.6 kB / 358.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.01214, allocations: 51.72 kB / 358.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01216, allocations: 4 kB / 358.7 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.01223, allocations: 4 kB / 358.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.01225, allocations: 23.91 kB / 358.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01226, allocations: 4 kB / 358.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.836e-05/0.01234, allocations: 195 kB / 358.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01234, allocations: 0 / 358.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01255, allocations: 95.78 kB / 359 MB, free: 6.105 MB / 330.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 8.539e-05/0.01263, allocations: 103.2 kB / 359.1 MB, free: 5.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.01279, allocations: 119.8 kB / 359.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01279, allocations: 4 kB / 359.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.01286, allocations: 68.05 kB / 359.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.01311, allocations: 48.95 kB / 359.3 MB, free: 5.75 MB / 330.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Error: Error parsing unit kcal/(min.K): Unit not found Error: Error parsing unit kcal/g: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/kg: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.01446, allocations: 0.7441 MB / 360.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01452, allocations: 92.31 kB / 360.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.01459, allocations: 17.94 kB / 360.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.0147, allocations: 122.2 kB / 360.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01471, allocations: 0 / 360.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of Templates: time 0.004337/0.01904, allocations: 2.337 MB / 362.6 MB, free: 2.434 MB / 330.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: 2.8594217179343104]