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.00147/0.00147, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001191/0.001191, allocations: 173 kB / 23.35 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.07749/0.07749, allocations: 12.76 MB / 273 MB, free: 168 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.543e-06/1.543e-06, allocations: 0 / 293.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.452e-05, allocations: 4.562 kB / 293.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003533/0.003558, allocations: 3.884 MB / 297.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.004585, allocations: 437.1 kB / 298.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.004778, allocations: 10.41 kB / 298.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.004959, allocations: 79.41 kB / 298.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.005202, allocations: 178.8 kB / 298.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.005466, allocations: 96.73 kB / 298.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.005987, allocations: 0.5344 MB / 299.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.006188, allocations: 127.6 kB / 299.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.006488, allocations: 256.3 kB / 299.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.0067, allocations: 149.4 kB / 299.6 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.006753, allocations: 32.56 kB / 299.6 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.006813, allocations: 31.62 kB / 299.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.006861, allocations: 74.25 kB / 299.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.006988, allocations: 150.7 kB / 299.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.007286, allocations: 301.7 kB / 300.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00729, allocations: 4 kB / 300.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007291, allocations: 1.25 kB / 300.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.007299, allocations: 0 / 300.2 MB, free: 8.148 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.0006596/0.007958, allocations: 0.6032 MB / 300.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.007991, allocations: 17.67 kB / 300.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.00807, allocations: 50.41 kB / 300.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.008305, allocations: 224 kB / 301.1 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.008328, allocations: 20.69 kB / 301.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.008367, allocations: 31.19 kB / 301.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.008584, allocations: 187.1 kB / 301.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.008597, allocations: 0.7969 kB / 301.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.008613, allocations: 19.06 kB / 301.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.008621, allocations: 7.25 kB / 301.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.008727, allocations: 76.7 kB / 301.4 MB, free: 7.379 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.000784/0.009511, allocations: 0.5723 MB / 302 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.009685, allocations: 116 kB / 302.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.009758, allocations: 63.02 kB / 302.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.009772, allocations: 5.266 kB / 302.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.009788, allocations: 44.59 kB / 302.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.332e-06/0.00979, allocations: 1.219 kB / 302.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002318/0.01002, allocations: 156.4 kB / 302.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.01004, allocations: 54.12 kB / 302.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01016, allocations: 234.4 kB / 302.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.01017, allocations: 26.86 kB / 302.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.01022, allocations: 164.5 kB / 302.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.01027, allocations: 97.22 kB / 302.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.01032, allocations: 45.06 kB / 303 MB, free: 6.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.01037, allocations: 343.5 kB / 303.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.01041, allocations: 22.39 kB / 303.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.01044, allocations: 30.53 kB / 303.4 MB, free: 6.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.0106, allocations: 132.3 kB / 303.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.0106, allocations: 0 / 303.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001504/0.01075, allocations: 132.3 kB / 303.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01077, allocations: 5.844 kB / 303.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01077, allocations: 0 / 303.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01078, allocations: 5.438 kB / 303.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01093, allocations: 60.23 kB / 303.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01093, allocations: 1.375 kB / 303.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.01099, allocations: 17.86 kB / 303.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.011, allocations: 8.406 kB / 303.7 MB, free: 6 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.0001105/0.01111, allocations: 136.1 kB / 303.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.01114, allocations: 26.92 kB / 303.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.01118, allocations: 40.22 kB / 303.9 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01119, allocations: 6.156 kB / 303.9 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01119, allocations: 5.312 kB / 303.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.0112, allocations: 6.906 kB / 303.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.0114, allocations: 192.3 kB / 304.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0114, allocations: 1.281 kB / 304.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01154, allocations: 51.39 kB / 304.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01155, allocations: 1.312 kB / 304.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.01156, allocations: 6.375 kB / 304.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01156, allocations: 0 / 304.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01156, allocations: 1.438 kB / 304.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.01182, allocations: 285.7 kB / 304.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.01187, allocations: 38.62 kB / 304.5 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.0119, allocations: 5.5 kB / 304.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.01196, allocations: 5.5 kB / 304.5 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.01199, allocations: 19.23 kB / 304.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.012, allocations: 5.578 kB / 304.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.01205, allocations: 81.39 kB / 304.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01205, allocations: 0 / 304.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.01225, allocations: 90.45 kB / 304.7 MB, free: 5.441 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 7.495e-05/0.01233, allocations: 79.83 kB / 304.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.01249, allocations: 106.2 kB / 304.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.01249, allocations: 6.688 kB / 304.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.01255, allocations: 61.98 kB / 304.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.01275, allocations: 44.69 kB / 305 MB, free: 5.305 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.001286/0.01404, allocations: 0.7034 MB / 305.7 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.01409, allocations: 93.44 kB / 305.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.288e-05/0.01417, allocations: 18.06 kB / 305.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01427, allocations: 87 kB / 305.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01427, allocations: 1.438 kB / 305.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of Templates: time 0.004044/0.01832, allocations: 2.356 MB / 308.2 MB, free: 2.645 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 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.844823343679309]