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.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.07718/0.07718, allocations: 15.26 MB / 31.21 MB, free: 3.215 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008838/0.0008837, allocations: 176.4 kB / 36.29 MB, free: 2.262 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 264.5 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 98.19 kB / 319.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.09966/0.09966, allocations: 20.57 MB / 395.8 MB, free: 43.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 20 kB / 467.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2635, allocations: 59.77 MB / 0.515 GB, free: 41.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3659, allocations: 93.96 MB / 0.6068 GB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.3661, allocations: 75.95 kB / 0.6069 GB, free: 11.19 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System ambient.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$ambient. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.0216/0.3877, allocations: 8.772 MB / 0.6154 GB, free: 2.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3877, allocations: 0 / 0.6154 GB, free: 2.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.196e-05/0.3878, allocations: 8 kB / 0.6154 GB, free: 2.34 MB / 410.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.0009658/0.3887, allocations: 0.6586 MB / 0.6161 GB, free: 1.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3888, allocations: 12.03 kB / 0.6161 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3889, allocations: 48.38 kB / 0.6161 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.3894, allocations: 335.8 kB / 0.6164 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3894, allocations: 20.94 kB / 0.6165 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.3895, allocations: 40.3 kB / 0.6165 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.3899, allocations: 245.4 kB / 0.6167 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3899, allocations: 192 / 0.6167 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.39, allocations: 15.94 kB / 0.6168 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.39, allocations: 8 kB / 0.6168 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.3903, allocations: 190.1 kB / 0.6169 GB, free: 0.6914 MB / 410.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.001684/0.392, allocations: 1.548 MB / 0.6185 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.3924, allocations: 217.7 kB / 0.6187 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.3926, allocations: 145.8 kB / 0.6188 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3926, allocations: 8.234 kB / 0.6188 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3927, allocations: 38.73 kB / 0.6188 GB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.3927, allocations: 0 / 0.6188 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005697/0.3933, allocations: 315.2 kB / 0.6191 GB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3933, allocations: 55.41 kB / 0.6192 GB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.3936, allocations: 321.7 kB / 0.6195 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3936, allocations: 29.7 kB / 0.6195 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3938, allocations: 200.6 kB / 0.6197 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.3938, allocations: 94.66 kB / 0.6198 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.3939, allocations: 4 kB / 0.6198 GB, free: 13.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.394, allocations: 350.8 kB / 0.6202 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3941, allocations: 71.92 kB / 0.6202 GB, free: 13.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3942, allocations: 75.91 kB / 0.6203 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3953, allocations: 394 kB / 0.6207 GB, free: 12.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3953, allocations: 3.938 kB / 0.6207 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003958/0.3957, allocations: 253.2 kB / 0.6209 GB, free: 12.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3958, allocations: 10.03 kB / 0.6209 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3958, allocations: 3.984 kB / 0.6209 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3958, allocations: 3.984 kB / 0.6209 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.3961, allocations: 51.92 kB / 0.621 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3961, allocations: 4 kB / 0.621 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3963, allocations: 35.67 kB / 0.621 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3963, allocations: 8 kB / 0.621 GB, free: 12.24 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: skin.relativeHeat:VARIABLE(start = skin.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real core.relativeHeat:VARIABLE(start = core.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.3965, allocations: 164.3 kB / 0.6212 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3966, allocations: 35.53 kB / 0.6212 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.3967, allocations: 48.16 kB / 0.6213 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3967, allocations: 4 kB / 0.6213 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3967, allocations: 0 / 0.6213 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3967, allocations: 0 / 0.6213 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.3972, allocations: 413.2 kB / 0.6217 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3972, allocations: 0 / 0.6217 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.3975, allocations: 43.92 kB / 0.6217 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3975, allocations: 0 / 0.6217 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3975, allocations: 11.98 kB / 0.6217 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3975, allocations: 0 / 0.6217 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3975, allocations: 0 / 0.6217 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.3981, allocations: 480 kB / 0.6222 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3983, allocations: 128.6 kB / 0.6223 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.3983, allocations: 4 kB / 0.6223 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3985, allocations: 15.98 kB / 0.6223 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3986, allocations: 15.98 kB / 0.6223 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3986, allocations: 4 kB / 0.6223 GB, free: 10.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.3988, allocations: 231.2 kB / 0.6226 GB, free: 10.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3988, allocations: 0 / 0.6226 GB, free: 10.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000332/0.3991, allocations: 99.84 kB / 0.6226 GB, free: 10.49 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.3993, allocations: 107.3 kB / 0.6228 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3996, allocations: 196.1 kB / 0.6229 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3996, allocations: 7.938 kB / 0.6229 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3998, allocations: 103.9 kB / 0.623 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.4004, allocations: 105.4 kB / 0.6231 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4018, allocations: 1.01 MB / 0.6241 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4021, allocations: 0.7992 MB / 0.6249 GB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.4023, allocations: 26.97 kB / 0.6249 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.4023, allocations: 23.44 kB / 0.625 GB, free: 8.059 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4024, allocations: 4 kB / 0.625 GB, free: 8.055 MB / 426.7 MB Notification: Performance of Templates: time 0.007164/0.4095, allocations: 3.616 MB / 0.6285 GB, free: 4.516 MB / 426.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile (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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1)