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.001096/0.001096, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001252/0.001252, allocations: 181 kB / 23.36 MB, free: 1.133 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.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.0646/0.0646, allocations: 12.76 MB / 273 MB, free: 176 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.793e-06/1.793e-06, allocations: 0 / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.916e-05, allocations: 4.781 kB / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003621/0.00364, allocations: 3.916 MB / 297.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.004617, allocations: 441.9 kB / 298.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.004803, allocations: 11.12 kB / 298.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.004978, allocations: 78.44 kB / 298.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.005203, allocations: 171 kB / 298.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.0054, allocations: 92.5 kB / 298.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.005813, allocations: 0.5529 MB / 299.2 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.005988, allocations: 117.6 kB / 299.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.006229, allocations: 263.1 kB / 299.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.006426, allocations: 141.6 kB / 299.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.006469, allocations: 31.5 kB / 299.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.006517, allocations: 32.38 kB / 299.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.006558, allocations: 79.38 kB / 299.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.006669, allocations: 145 kB / 300 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.006938, allocations: 302.9 kB / 300.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00694, allocations: 4 kB / 300.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.006941, allocations: 0 / 300.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.006947, allocations: 1.219 kB / 300.3 MB, free: 8.059 MB / 266.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.0005234/0.00747, allocations: 0.6107 MB / 300.9 MB, free: 7.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.007497, allocations: 18.64 kB / 300.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.007561, allocations: 50.19 kB / 300.9 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.007786, allocations: 226.2 kB / 301.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.007807, allocations: 23.03 kB / 301.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.007836, allocations: 30.95 kB / 301.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.008042, allocations: 195.5 kB / 301.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.008052, allocations: 1.562 kB / 301.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.008067, allocations: 11.12 kB / 301.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.008074, allocations: 7.25 kB / 301.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.00819, allocations: 72.39 kB / 301.5 MB, free: 7.281 MB / 266.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.00092/0.00911, allocations: 0.5642 MB / 302.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.009319, allocations: 118.8 kB / 302.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.00941, allocations: 62.56 kB / 302.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.009427, allocations: 5.547 kB / 302.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.009445, allocations: 32.17 kB / 302.3 MB, free: 6.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.904e-06/0.009447, allocations: 5.5 kB / 302.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002561/0.009704, allocations: 156.2 kB / 302.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.009722, allocations: 54.16 kB / 302.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.009841, allocations: 233.6 kB / 302.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.009852, allocations: 31.08 kB / 302.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.009902, allocations: 164.5 kB / 302.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.009948, allocations: 101.4 kB / 303 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.01, allocations: 45.75 kB / 303.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.01005, allocations: 339 kB / 303.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.01008, allocations: 21.88 kB / 303.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.01012, allocations: 22.78 kB / 303.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.01029, allocations: 144.9 kB / 303.6 MB, free: 5.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01029, allocations: 5.375 kB / 303.6 MB, free: 5.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000154/0.01044, allocations: 133 kB / 303.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01045, allocations: 6.562 kB / 303.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01046, allocations: 1.719 kB / 303.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01047, allocations: 9.344 kB / 303.7 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.01066, allocations: 59.61 kB / 303.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01066, allocations: 1.125 kB / 303.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.01071, allocations: 15.92 kB / 303.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.01072, allocations: 6.594 kB / 303.8 MB, free: 5.902 MB / 266.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.0001087/0.01083, allocations: 134.7 kB / 303.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.01087, allocations: 28.83 kB / 304 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.01091, allocations: 43.78 kB / 304 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01091, allocations: 6.219 kB / 304 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01092, allocations: 0.9062 kB / 304 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01092, allocations: 0 / 304 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.01111, allocations: 200.4 kB / 304.2 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01112, allocations: 0 / 304.2 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.01128, allocations: 49.2 kB / 304.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01128, allocations: 4.766 kB / 304.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.0113, allocations: 6.094 kB / 304.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.0113, allocations: 7.453 kB / 304.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0113, allocations: 0 / 304.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.01165, allocations: 279.7 kB / 304.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.01171, allocations: 37.78 kB / 304.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.01173, allocations: 5.156 kB / 304.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.0118, allocations: 5.891 kB / 304.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.01183, allocations: 20.02 kB / 304.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01184, allocations: 7 kB / 304.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.368e-05/0.01191, allocations: 83.27 kB / 304.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01191, allocations: 0 / 304.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.0121, allocations: 94.8 kB / 304.8 MB, free: 5.344 MB / 266.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 6.94e-05/0.01217, allocations: 77.11 kB / 304.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.01233, allocations: 99.31 kB / 305 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.01233, allocations: 3.219 kB / 305 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.0124, allocations: 72.53 kB / 305 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.0126, allocations: 38.33 kB / 305.1 MB, free: 5.215 MB / 266.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.00124/0.01384, allocations: 0.7059 MB / 305.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.0139, allocations: 93.27 kB / 305.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.082e-05/0.01398, allocations: 26.39 kB / 305.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01409, allocations: 90.55 kB / 306 MB, free: 4.648 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01409, allocations: 1.031 kB / 306 MB, free: 4.648 MB / 266.7 MB Notification: Performance of Templates: time 0.003912/0.018, allocations: 2.359 MB / 308.3 MB, free: 2.516 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.791407809127122]