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.001178/0.001178, allocations: 88.42 kB / 19.93 MB, free: 4.602 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.001312/0.001312, allocations: 174.3 kB / 23.21 MB, free: 1.32 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.9866/0.9866, allocations: 177.2 MB / 203.5 MB, free: 5.738 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.05322/0.05322, allocations: 12.74 MB / 272.7 MB, free: 0.4922 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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 403.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.101e-05, allocations: 8.328 kB / 403.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.004219/0.00424, allocations: 3.551 MB / 406.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000756/0.004996, allocations: 430.4 kB / 407.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.00518, allocations: 11.94 kB / 407.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.005396, allocations: 79.22 kB / 407.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.005647, allocations: 170.4 kB / 407.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.005901, allocations: 95.84 kB / 407.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.006418, allocations: 0.5363 MB / 407.9 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.006669, allocations: 116.7 kB / 408.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.006941, allocations: 267.4 kB / 408.3 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.007168, allocations: 139.6 kB / 408.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.007228, allocations: 36 kB / 408.5 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.007293, allocations: 32 kB / 408.5 MB, free: 3.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.007354, allocations: 75.67 kB / 408.6 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.007507, allocations: 147.7 kB / 408.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.007954, allocations: 442.6 kB / 409.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007956, allocations: 0 / 409.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007957, allocations: 0 / 409.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.007963, allocations: 0 / 409.2 MB, free: 2.781 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.0009235/0.008887, allocations: 0.6179 MB / 409.8 MB, free: 2.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.008927, allocations: 11.98 kB / 409.8 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.009007, allocations: 48.66 kB / 409.8 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.009371, allocations: 253.6 kB / 410.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.009407, allocations: 17.03 kB / 410.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.009461, allocations: 28.38 kB / 410.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.00993, allocations: 250.7 kB / 410.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.009948, allocations: 192 / 410.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.009974, allocations: 12.38 kB / 410.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.009984, allocations: 8.375 kB / 410.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.01035, allocations: 194.5 kB / 410.6 MB, free: 1.293 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.00125/0.0116, allocations: 0.7422 MB / 411.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.01202, allocations: 200.2 kB / 411.5 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.01225, allocations: 121.3 kB / 411.6 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.01228, allocations: 4.234 kB / 411.7 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.01231, allocations: 42.67 kB / 411.7 MB, free: 144 kB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.043e-06/0.01232, allocations: 0 / 411.7 MB, free: 144 kB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.1702/0.1826, allocations: 305.6 kB / 412 MB, free: 21.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1826, allocations: 57.5 kB / 412 MB, free: 21.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1829, allocations: 238.6 kB / 412.3 MB, free: 21.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1829, allocations: 30.77 kB / 412.3 MB, free: 21.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.183, allocations: 188.3 kB / 412.5 MB, free: 21.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1831, allocations: 94.16 kB / 412.6 MB, free: 21.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.1832, allocations: 50.02 kB / 412.6 MB, free: 21.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.1832, allocations: 339.8 kB / 413 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1834, allocations: 65.02 kB / 413 MB, free: 20.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1835, allocations: 69.92 kB / 413.1 MB, free: 20.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.1847, allocations: 394.6 kB / 413.5 MB, free: 20.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1847, allocations: 0.9688 kB / 413.5 MB, free: 20.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004415/0.1851, allocations: 247.5 kB / 413.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1852, allocations: 12.06 kB / 413.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1852, allocations: 0 / 413.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1852, allocations: 3.969 kB / 413.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1854, allocations: 50.28 kB / 413.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1855, allocations: 3.297 kB / 413.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.1856, allocations: 20.81 kB / 413.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1856, allocations: 9.75 kB / 413.8 MB, free: 20.6 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.0002194/0.1858, allocations: 156.5 kB / 414 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1859, allocations: 37.62 kB / 414 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.1859, allocations: 41 kB / 414.1 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.186, allocations: 3.625 kB / 414.1 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.186, allocations: 2.562 kB / 414.1 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.186, allocations: 2.016 kB / 414.1 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.1864, allocations: 275.8 kB / 414.3 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1864, allocations: 0 / 414.3 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1866, allocations: 47.14 kB / 414.4 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1866, allocations: 4.844 kB / 414.4 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1867, allocations: 13.72 kB / 414.4 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1867, allocations: 1.125 kB / 414.4 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1867, allocations: 2.281 kB / 414.4 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.1873, allocations: 466.8 kB / 414.9 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1874, allocations: 46.08 kB / 414.9 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.1875, allocations: 9.125 kB / 414.9 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1876, allocations: 6.031 kB / 414.9 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.1877, allocations: 14.17 kB / 414.9 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1877, allocations: 10.47 kB / 414.9 MB, free: 19.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1878, allocations: 173.4 kB / 415.1 MB, free: 19.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 415.1 MB, free: 19.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.1882, allocations: 95.94 kB / 415.2 MB, free: 19.77 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 0.000109/0.1883, allocations: 104.2 kB / 415.3 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.1887, allocations: 185.6 kB / 415.5 MB, free: 19.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1888, allocations: 4 kB / 415.5 MB, free: 19.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1889, allocations: 103.7 kB / 415.6 MB, free: 19.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1894, allocations: 44.08 kB / 415.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1907, allocations: 0.748 MB / 416.4 MB, free: 19.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.1908, allocations: 175.1 kB / 416.6 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.1909, allocations: 22.84 kB / 416.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1909, allocations: 0 / 416.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of Templates: time 0.006988/0.1979, allocations: 3.732 MB / 420.3 MB, free: 18.57 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 > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.757682684343308]