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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006284/0.006284, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.54/1.54, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009341/0.0009343, allocations: 101.1 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2901/0.2901, allocations: 37.07 MB / 378.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 12 kB / 449.1 MB, free: 79.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 60.08 MB / 0.4972 GB, free: 19.8 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6348, allocations: 93.13 MB / 0.5882 GB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.6351, allocations: 70.97 kB / 0.5882 GB, free: 8.859 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.02028/0.6554, allocations: 8.767 MB / 0.5968 GB, free: 1.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6555, allocations: 0 / 0.5968 GB, free: 1.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.6555, allocations: 8 kB / 0.5968 GB, free: 1.828 MB / 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.0009143/0.6564, allocations: 0.6732 MB / 0.5974 GB, free: 1.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6565, allocations: 16.02 kB / 0.5975 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.87e-05/0.6566, allocations: 63.84 kB / 0.5975 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.6566, allocations: 51.39 kB / 0.5976 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.657, allocations: 320.3 kB / 0.5979 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.6571, allocations: 22.75 kB / 0.5979 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.6571, allocations: 30.7 kB / 0.5979 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.6575, allocations: 243.3 kB / 0.5982 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6576, allocations: 4 kB / 0.5982 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.6576, allocations: 9.438 kB / 0.5982 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.6576, allocations: 8 kB / 0.5982 GB, free: 484 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.6579, allocations: 193 kB / 0.5984 GB, free: 360 kB / 378.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.001775/0.6597, allocations: 1.563 MB / 0.5999 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.6601, allocations: 210.4 kB / 0.6001 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.6601, allocations: 4.234 kB / 0.6001 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6602, allocations: 42.44 kB / 0.6001 GB, free: 14.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.6602, allocations: 8 kB / 0.6001 GB, free: 14.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006148/0.6608, allocations: 309.1 kB / 0.6004 GB, free: 14.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.6609, allocations: 58.66 kB / 0.6005 GB, free: 14.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.6612, allocations: 283.1 kB / 0.6008 GB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.6612, allocations: 29.52 kB / 0.6008 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.6614, allocations: 198.4 kB / 0.601 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.6615, allocations: 97.5 kB / 0.6011 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.6615, allocations: 3.562 kB / 0.6011 GB, free: 13.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6617, allocations: 353.1 kB / 0.6014 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.6618, allocations: 65.8 kB / 0.6015 GB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.6619, allocations: 80.83 kB / 0.6016 GB, free: 13.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.6621, allocations: 79.8 kB / 0.6016 GB, free: 13.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6621, allocations: 0 / 0.6016 GB, free: 13.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004095/0.6625, allocations: 261.3 kB / 0.6019 GB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6625, allocations: 4 kB / 0.6019 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6626, allocations: 0 / 0.6019 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.6626, allocations: 3.953 kB / 0.6019 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.6629, allocations: 51.91 kB / 0.6019 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6629, allocations: 4 kB / 0.6019 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6631, allocations: 31.06 kB / 0.602 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.6631, allocations: 7.75 kB / 0.602 GB, free: 13.05 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(start = core.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 skeletalMuscle.relativeHeat:VARIABLE(start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(start = skin.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.000323/0.6634, allocations: 156.3 kB / 0.6021 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.6635, allocations: 39.53 kB / 0.6022 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.6637, allocations: 57.7 kB / 0.6022 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6637, allocations: 3.953 kB / 0.6022 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6637, allocations: 4 kB / 0.6022 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.6637, allocations: 0 / 0.6022 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.6642, allocations: 402.8 kB / 0.6026 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6642, allocations: 0 / 0.6026 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.6645, allocations: 51.53 kB / 0.6027 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6645, allocations: 0 / 0.6027 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.6646, allocations: 7.625 kB / 0.6027 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.6646, allocations: 7.953 kB / 0.6027 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6646, allocations: 0 / 0.6027 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.6653, allocations: 460.7 kB / 0.6031 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.6655, allocations: 134.4 kB / 0.6032 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.6655, allocations: 11.8 kB / 0.6033 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.6657, allocations: 4 kB / 0.6033 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.6658, allocations: 23.69 kB / 0.6033 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.6658, allocations: 7.984 kB / 0.6033 GB, free: 11.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.666, allocations: 226.5 kB / 0.6035 GB, free: 11.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.666, allocations: 7.875 kB / 0.6035 GB, free: 11.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.6664, allocations: 98.97 kB / 0.6036 GB, free: 11.62 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 () * 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.0009957/0.6674, allocations: 0.9998 MB / 0.6046 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.6678, allocations: 193 kB / 0.6048 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6678, allocations: 4 kB / 0.6048 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.668, allocations: 107.7 kB / 0.6049 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.6685, allocations: 99.58 kB / 0.605 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.6715, allocations: 2.179 MB / 0.6071 GB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.6719, allocations: 0.8033 MB / 0.6079 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.6721, allocations: 30.95 kB / 0.6079 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.6722, allocations: 123.2 kB / 0.608 GB, free: 7.605 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6722, allocations: 4 kB / 0.608 GB, free: 7.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.6918, allocations: 6.879 MB / 0.6147 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.6921, allocations: 173.2 kB / 0.6149 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.671, allocations: 64 / 0.6149 GB, free: 0.6523 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1)