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.001549/0.00155, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 95.55 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1943/0.1943, allocations: 37.08 MB / 368.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.644e-05, allocations: 7.938 kB / 434.6 MB, free: 23.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 60.07 MB / 494.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5057, allocations: 92.41 MB / 0.5734 GB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.5059, allocations: 70.84 kB / 0.5734 GB, free: 7.348 MB / 378.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.02135/0.5273, allocations: 8.687 MB / 0.5819 GB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5273, allocations: 8 kB / 0.5819 GB, free: 136 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.5273, allocations: 4 kB / 0.5819 GB, free: 132 kB / 378.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.0008107/0.5281, allocations: 0.6049 MB / 0.5825 GB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5282, allocations: 12.03 kB / 0.5825 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.5283, allocations: 51.39 kB / 0.5826 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.5287, allocations: 325.5 kB / 0.5829 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5287, allocations: 8 kB / 0.5829 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.5288, allocations: 18.73 kB / 0.5829 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003024/0.5291, allocations: 171.8 kB / 0.5831 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.5294, allocations: 199.5 kB / 0.5833 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5295, allocations: 3.906 kB / 0.5833 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.5295, allocations: 4 kB / 0.5833 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.5295, allocations: 11.95 kB / 0.5833 GB, free: 14.81 MB / 394.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.0015/0.531, allocations: 1.479 MB / 0.5847 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.5313, allocations: 202.2 kB / 0.5849 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.5315, allocations: 130.3 kB / 0.585 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.5315, allocations: 4.234 kB / 0.585 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.5316, allocations: 30.8 kB / 0.5851 GB, free: 13.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.5316, allocations: 0 / 0.5851 GB, free: 13.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003842/0.532, allocations: 221.4 kB / 0.5853 GB, free: 12.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.532, allocations: 62.97 kB / 0.5853 GB, free: 12.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.5322, allocations: 231.4 kB / 0.5856 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.5323, allocations: 25.7 kB / 0.5856 GB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5324, allocations: 203.5 kB / 0.5858 GB, free: 12.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.5325, allocations: 93.62 kB / 0.5859 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.5325, allocations: 0 / 0.5859 GB, free: 12.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5326, allocations: 337.1 kB / 0.5862 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5327, allocations: 61.12 kB / 0.5863 GB, free: 12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.5328, allocations: 71.8 kB / 0.5863 GB, free: 11.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.533, allocations: 75.8 kB / 0.5864 GB, free: 11.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.533, allocations: 0 / 0.5864 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003233/0.5333, allocations: 229.4 kB / 0.5866 GB, free: 11.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5333, allocations: 8 kB / 0.5866 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5333, allocations: 0 / 0.5866 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5334, allocations: 0 / 0.5866 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.5336, allocations: 51.61 kB / 0.5867 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5337, allocations: 7.938 kB / 0.5867 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.5338, allocations: 19.84 kB / 0.5867 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5338, allocations: 4 kB / 0.5867 GB, free: 11.65 MB / 394.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.0001852/0.534, allocations: 124.5 kB / 0.5868 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.5341, allocations: 27.62 kB / 0.5868 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.5342, allocations: 40.36 kB / 0.5869 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5342, allocations: 8 kB / 0.5869 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5342, allocations: 0 / 0.5869 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5342, allocations: 3.953 kB / 0.5869 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.5346, allocations: 354 kB / 0.5872 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5346, allocations: 7.984 kB / 0.5872 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.5349, allocations: 43.92 kB / 0.5873 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5349, allocations: 3.984 kB / 0.5873 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.535, allocations: 3.75 kB / 0.5873 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.535, allocations: 4 kB / 0.5873 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.535, allocations: 0 / 0.5873 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.5355, allocations: 444.6 kB / 0.5877 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5357, allocations: 130.8 kB / 0.5878 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.5357, allocations: 0 / 0.5878 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5359, allocations: 4 kB / 0.5878 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.5359, allocations: 19.72 kB / 0.5879 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5359, allocations: 4 kB / 0.5879 GB, free: 10.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.5361, allocations: 179.9 kB / 0.588 GB, free: 10.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5361, allocations: 8 kB / 0.5881 GB, free: 10.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.5365, allocations: 95.69 kB / 0.5881 GB, free: 10.36 MB / 394.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.0001511/0.5366, allocations: 98.62 kB / 0.5882 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.537, allocations: 173.4 kB / 0.5884 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.537, allocations: 7.938 kB / 0.5884 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.5371, allocations: 100.9 kB / 0.5885 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5376, allocations: 76.88 kB / 0.5886 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.5386, allocations: 0.646 MB / 0.5892 GB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.539, allocations: 0.8069 MB / 0.59 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.5392, allocations: 18.08 kB / 0.59 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.5392, allocations: 31.42 kB / 0.59 GB, free: 8.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5392, allocations: 0 / 0.59 GB, free: 8.508 MB / 394.7 MB Notification: Performance of Templates: time 0.005957/0.5452, allocations: 2.888 MB / 0.5929 GB, free: 5.68 MB / 394.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)