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.001177/0.001177, allocations: 93.06 kB / 19.65 MB, free: 280 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.00135/0.00135, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 0.9898/0.9898, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.06196/0.06196, allocations: 12.76 MB / 272.7 MB, free: 264 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 1.273e-06/1.273e-06, allocations: 0 / 346.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.618e-05, allocations: 6.25 kB / 346.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003351/0.003377, allocations: 3.915 MB / 350.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.004415, allocations: 426.4 kB / 351 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.004598, allocations: 11.94 kB / 351 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.004806, allocations: 79.22 kB / 351.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.00505, allocations: 174.4 kB / 351.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.00531, allocations: 95.8 kB / 351.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.005828, allocations: 0.5441 MB / 351.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.006073, allocations: 116.7 kB / 352 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.006366, allocations: 255.5 kB / 352.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.006569, allocations: 151.6 kB / 352.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.00662, allocations: 32 kB / 352.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.006671, allocations: 32 kB / 352.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.006721, allocations: 71.69 kB / 352.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.006845, allocations: 155.7 kB / 352.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.007191, allocations: 302.9 kB / 353 MB, free: 10.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.007195, allocations: 3.938 kB / 353 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.007197, allocations: 4 kB / 353 MB, free: 10.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.007207, allocations: 0 / 353 MB, free: 10.86 MB / 282.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.0008214/0.008028, allocations: 0.7179 MB / 353.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.00807, allocations: 11.98 kB / 353.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.00817, allocations: 68.66 kB / 353.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.008487, allocations: 260.4 kB / 354.1 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.008519, allocations: 21.03 kB / 354.1 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.008559, allocations: 32.38 kB / 354.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.008895, allocations: 199.4 kB / 354.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.008915, allocations: 4.188 kB / 354.3 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.008939, allocations: 12.38 kB / 354.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.008952, allocations: 4.375 kB / 354.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.009153, allocations: 107.8 kB / 354.5 MB, free: 9.359 MB / 282.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.001017/0.01017, allocations: 0.7688 MB / 355.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.01043, allocations: 150.9 kB / 355.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.01054, allocations: 88.12 kB / 355.5 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.01056, allocations: 4.234 kB / 355.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.01058, allocations: 37.56 kB / 355.5 MB, free: 8.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/0.01059, allocations: 0 / 355.5 MB, free: 8.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003726/0.01096, allocations: 226.1 kB / 355.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.01099, allocations: 55.34 kB / 355.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.01117, allocations: 290.3 kB / 356.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01119, allocations: 33.7 kB / 356.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.01129, allocations: 231.4 kB / 356.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.01135, allocations: 91.14 kB / 356.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.01142, allocations: 55.36 kB / 356.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01155, allocations: 0.5079 MB / 357 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.01162, allocations: 35.97 kB / 357 MB, free: 6.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.01168, allocations: 35.98 kB / 357 MB, free: 6.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.01192, allocations: 165.6 kB / 357.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01192, allocations: 0 / 357.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002267/0.01215, allocations: 197.4 kB / 357.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01216, allocations: 7.938 kB / 357.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01217, allocations: 0 / 357.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01218, allocations: 0 / 357.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01236, allocations: 59.97 kB / 357.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01237, allocations: 3.938 kB / 357.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.01243, allocations: 19.84 kB / 357.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01244, allocations: 4 kB / 357.5 MB, free: 6.199 MB / 282.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.0001701/0.01261, allocations: 181.7 kB / 357.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.01265, allocations: 43.73 kB / 357.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.01271, allocations: 39 kB / 357.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01271, allocations: 4 kB / 357.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01271, allocations: 0 / 357.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01272, allocations: 3.984 kB / 357.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.01298, allocations: 276.3 kB / 358 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01298, allocations: 0 / 358 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.01315, allocations: 43.98 kB / 358.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01315, allocations: 7.984 kB / 358.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.01317, allocations: 7.938 kB / 358.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01317, allocations: 0 / 358.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01318, allocations: 0 / 358.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.01358, allocations: 399.6 kB / 358.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.01365, allocations: 47.73 kB / 358.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.01369, allocations: 15.92 kB / 358.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.01376, allocations: 48 / 358.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.0138, allocations: 19.95 kB / 358.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.01381, allocations: 4 kB / 358.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.01391, allocations: 203 kB / 358.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 358.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01413, allocations: 99.78 kB / 358.8 MB, free: 4.766 MB / 282.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.0001027/0.01423, allocations: 99.19 kB / 358.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.01448, allocations: 139.8 kB / 359.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01448, allocations: 0 / 359.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.01457, allocations: 75.59 kB / 359.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01486, allocations: 44.95 kB / 359.2 MB, free: 4.391 MB / 282.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.001629/0.01649, allocations: 0.7447 MB / 359.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.556e-05/0.01656, allocations: 100.2 kB / 360 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.01664, allocations: 21.95 kB / 360.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.01669, allocations: 20.5 kB / 360.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.01669, allocations: 0 / 360.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of Templates: time 0.004561/0.02126, allocations: 2.263 MB / 362.3 MB, free: 1.234 MB / 282.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.847055037971586]