Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.06409/0.06409, allocations: 11.15 MB / 31.01 MB, free: 4.762 MB / 24.77 MB " [Timeout remaining time 180] 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.0009266/0.0009266, allocations: 90.03 kB / 38.74 MB, free: 6.84 MB / 33.03 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.0009823/0.0009823, allocations: 166.3 kB / 42.15 MB, free: 3.508 MB / 33.03 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.9682/0.9682, allocations: 177.1 MB / 222.6 MB, free: 6.301 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1944/0.1944, allocations: 17.63 MB / 296.7 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 320.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.203e-05, allocations: 2.312 kB / 320.9 MB, free: 14.16 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.ThermalBody_QHP): time 0.03184/0.03185, allocations: 33.67 MB / 354.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.03323, allocations: 0.839 MB / 355.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.03337, allocations: 15.88 kB / 355.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.03352, allocations: 87.14 kB / 355.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.03375, allocations: 206.2 kB / 355.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.03389, allocations: 83.86 kB / 355.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.03426, allocations: 0.5906 MB / 356.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.03442, allocations: 117.3 kB / 356.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.03462, allocations: 299.3 kB / 356.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.03478, allocations: 143.6 kB / 356.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.03481, allocations: 32 kB / 357 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.03485, allocations: 40 kB / 357 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.03489, allocations: 75.67 kB / 357.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.03499, allocations: 163.6 kB / 357.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.03524, allocations: 322.8 kB / 357.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.03524, allocations: 0 / 357.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03524, allocations: 3.984 kB / 357.6 MB, free: 9.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.03525, allocations: 0 / 357.6 MB, free: 9.652 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.0005061/0.03575, allocations: 0.6479 MB / 358.2 MB, free: 8.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.35e-05/0.03578, allocations: 8.031 kB / 358.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.03583, allocations: 56.83 kB / 358.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.03607, allocations: 273.5 kB / 358.5 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.03609, allocations: 21.03 kB / 358.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.03612, allocations: 24.38 kB / 358.6 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.03629, allocations: 187.3 kB / 358.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.0363, allocations: 4.172 kB / 358.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.03631, allocations: 16.36 kB / 358.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.03632, allocations: 11.94 kB / 358.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.03642, allocations: 68.56 kB / 358.9 MB, free: 8.289 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.0006362/0.03705, allocations: 0.5599 MB / 359.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.03719, allocations: 120 kB / 359.6 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.507e-05/0.03726, allocations: 69.28 kB / 359.6 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.03727, allocations: 4.234 kB / 359.6 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.03729, allocations: 34.8 kB / 359.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.142e-06/0.03729, allocations: 4 kB / 359.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001966/0.03748, allocations: 160.1 kB / 359.8 MB, free: 7.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.03751, allocations: 59.34 kB / 359.9 MB, free: 7.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.03764, allocations: 271 kB / 360.1 MB, free: 6.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.03765, allocations: 25.7 kB / 360.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.03771, allocations: 169.3 kB / 360.3 MB, free: 6.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.03777, allocations: 99.11 kB / 360.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.03781, allocations: 45.69 kB / 360.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.0379, allocations: 346.7 kB / 360.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.03793, allocations: 23.98 kB / 360.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.03797, allocations: 24 kB / 360.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.03811, allocations: 137.9 kB / 361 MB, free: 6.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.03811, allocations: 0 / 361 MB, free: 6.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001363/0.03825, allocations: 133.6 kB / 361.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.03826, allocations: 11.94 kB / 361.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.03826, allocations: 0 / 361.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.03827, allocations: 0 / 361.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.03843, allocations: 51.97 kB / 361.2 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.03843, allocations: 7.938 kB / 361.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.03849, allocations: 23.78 kB / 361.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.03849, allocations: 8 kB / 361.2 MB, free: 5.84 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start 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.0001207/0.03862, allocations: 138.7 kB / 361.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.03865, allocations: 27.97 kB / 361.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.0387, allocations: 47.89 kB / 361.4 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.0387, allocations: 4 kB / 361.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.0387, allocations: 4 kB / 361.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.0387, allocations: 3.984 kB / 361.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.03889, allocations: 205.5 kB / 361.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.03889, allocations: 0 / 361.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.03903, allocations: 47.98 kB / 361.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.03903, allocations: 0 / 361.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.03904, allocations: 11.98 kB / 361.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.03904, allocations: 0 / 361.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03904, allocations: 3.938 kB / 361.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.03927, allocations: 288.5 kB / 362 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.03932, allocations: 43.69 kB / 362 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.03935, allocations: 4 kB / 362 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.03941, allocations: 4 kB / 362 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.03944, allocations: 19.91 kB / 362.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.03945, allocations: 4 kB / 362.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.522e-05/0.03951, allocations: 104.6 kB / 362.2 MB, free: 4.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03951, allocations: 0 / 362.2 MB, free: 4.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.03969, allocations: 95.84 kB / 362.3 MB, free: 4.762 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 6.223e-05/0.03975, allocations: 88.28 kB / 362.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.03989, allocations: 117 kB / 362.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.03989, allocations: 4 kB / 362.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.03994, allocations: 60.78 kB / 362.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.04019, allocations: 82.61 kB / 362.6 MB, free: 4.41 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.001221/0.04141, allocations: 0.7485 MB / 363.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.04146, allocations: 96.3 kB / 363.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.04154, allocations: 30.27 kB / 363.5 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.04168, allocations: 103.3 kB / 363.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04168, allocations: 3.938 kB / 363.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of Templates: time 0.004819/0.0465, allocations: 3.443 MB / 367 MB, free: 8 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.709267446305603]