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/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-beta1 (/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008699/0.0008699, allocations: 90.16 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.401/0.401, allocations: 37.06 MB / 373.6 MB, free: 45.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.236e-05, allocations: 0 / 441.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.146, allocations: 60.08 MB / 0.4898 GB, free: 3.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4068/0.5528, allocations: 93.06 MB / 0.5807 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.5531, allocations: 79.94 kB / 0.5808 GB, free: 15.58 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66: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.02235/0.5754, allocations: 8.766 MB / 0.5894 GB, free: 6.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5755, allocations: 4 kB / 0.5894 GB, free: 6.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.5755, allocations: 4 kB / 0.5894 GB, free: 6.781 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.0008585/0.5764, allocations: 0.6123 MB / 0.59 GB, free: 6.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5764, allocations: 12.03 kB / 0.59 GB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.5765, allocations: 51.39 kB / 0.59 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.577, allocations: 323.6 kB / 0.5903 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.577, allocations: 19.3 kB / 0.5903 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.5771, allocations: 32 kB / 0.5904 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.5775, allocations: 244.9 kB / 0.5906 GB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5775, allocations: 0 / 0.5906 GB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.5776, allocations: 12 kB / 0.5906 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5776, allocations: 8 kB / 0.5906 GB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.5779, allocations: 186.2 kB / 0.5908 GB, free: 5.215 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001682/0.5796, allocations: 1.551 MB / 0.5923 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.58, allocations: 212.1 kB / 0.5925 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.5802, allocations: 137.7 kB / 0.5927 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.5802, allocations: 8.234 kB / 0.5927 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.5802, allocations: 34.75 kB / 0.5927 GB, free: 3.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.5802, allocations: 0 / 0.5927 GB, free: 3.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004425/0.5807, allocations: 244.2 kB / 0.5929 GB, free: 2.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5807, allocations: 59.34 kB / 0.593 GB, free: 2.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.581, allocations: 275.7 kB / 0.5932 GB, free: 2.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.5811, allocations: 31.86 kB / 0.5933 GB, free: 2.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5812, allocations: 204.3 kB / 0.5935 GB, free: 2.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.5813, allocations: 98.72 kB / 0.5936 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.5813, allocations: 4 kB / 0.5936 GB, free: 2.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5815, allocations: 342.8 kB / 0.5939 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.5816, allocations: 68 kB / 0.594 GB, free: 1.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.5817, allocations: 64 kB / 0.594 GB, free: 1.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.5819, allocations: 79.97 kB / 0.5941 GB, free: 1.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5819, allocations: 0 / 0.5941 GB, free: 1.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000385/0.5823, allocations: 259.5 kB / 0.5943 GB, free: 1.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5823, allocations: 4 kB / 0.5944 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5823, allocations: 7.953 kB / 0.5944 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5824, allocations: 4 kB / 0.5944 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.5826, allocations: 51.91 kB / 0.5944 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5826, allocations: 0 / 0.5944 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.5828, allocations: 27.73 kB / 0.5944 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.5829, allocations: 11.98 kB / 0.5945 GB, free: 1.211 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(start = core.relativeHeat_start unit = "J" nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(start = GILumen.relativeHeat_start unit = "J" nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(start = skeletalMuscle.relativeHeat_start unit = "J" nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(start = skin.relativeHeat_start unit = "J" 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 () * 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.0001679/0.583, allocations: 128.1 kB / 0.5946 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.5831, allocations: 35.53 kB / 0.5946 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.5832, allocations: 52.14 kB / 0.5947 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5832, allocations: 3.953 kB / 0.5947 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5832, allocations: 11.88 kB / 0.5947 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5832, allocations: 0 / 0.5947 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.5837, allocations: 397.2 kB / 0.5951 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5837, allocations: 3.984 kB / 0.5951 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.584, allocations: 43.98 kB / 0.5951 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.584, allocations: 4 kB / 0.5951 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.5841, allocations: 8 kB / 0.5951 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5841, allocations: 7.953 kB / 0.5951 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5841, allocations: 0 / 0.5951 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.5847, allocations: 462.9 kB / 0.5956 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5849, allocations: 132.6 kB / 0.5957 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.5849, allocations: 8 kB / 0.5957 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5851, allocations: 15.98 kB / 0.5957 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.5852, allocations: 15.94 kB / 0.5957 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5852, allocations: 8 kB / 0.5957 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.5854, allocations: 222.2 kB / 0.5959 GB, free: 15.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5854, allocations: 0 / 0.5959 GB, free: 15.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.5858, allocations: 103.8 kB / 0.596 GB, free: 15.5 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 () * 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.0001368/0.5859, allocations: 103.2 kB / 0.5961 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.5863, allocations: 195.9 kB / 0.5963 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5863, allocations: 0 / 0.5963 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.5864, allocations: 104.6 kB / 0.5964 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.587, allocations: 94.19 kB / 0.5965 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.5881, allocations: 0.6574 MB / 0.5972 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.5885, allocations: 0.8072 MB / 0.5979 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.5886, allocations: 30.95 kB / 0.598 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.5887, allocations: 23.44 kB / 0.598 GB, free: 13.44 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5887, allocations: 4 kB / 0.598 GB, free: 13.44 MB / 426.7 MB Notification: Performance of Templates: time 0.007337/0.5961, allocations: 3.546 MB / 0.6015 GB, free: 9.961 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)