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.001806/0.001806, allocations: 174.7 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.506/1.506, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.000952/0.0009522, allocations: 76.19 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.5427/0.5427, allocations: 37.06 MB / 373.6 MB, free: 45.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.494e-05/4.519e-05, allocations: 7.984 kB / 441.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1522, allocations: 60.07 MB / 0.4899 GB, free: 3.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5255/0.6777, allocations: 93.07 MB / 0.5808 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.678, allocations: 72.5 kB / 0.5809 GB, free: 15.51 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.02304/0.7011, allocations: 8.774 MB / 0.5895 GB, free: 6.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7012, allocations: 0 / 0.5895 GB, free: 6.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.7012, allocations: 8 kB / 0.5895 GB, free: 6.703 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.000943/0.7022, allocations: 0.6117 MB / 0.5901 GB, free: 6.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.7022, allocations: 8.031 kB / 0.5901 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.915e-05/0.7023, allocations: 66.55 kB / 0.5901 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.7024, allocations: 55.39 kB / 0.5902 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.703, allocations: 330.3 kB / 0.5905 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.703, allocations: 24.56 kB / 0.5905 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.7031, allocations: 28 kB / 0.5905 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.7035, allocations: 236.9 kB / 0.5908 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.7036, allocations: 0 / 0.5908 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.7036, allocations: 12 kB / 0.5908 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.7036, allocations: 7.953 kB / 0.5908 GB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.704, allocations: 190.2 kB / 0.591 GB, free: 5.059 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.001785/0.7058, allocations: 1.551 MB / 0.5925 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.7062, allocations: 207.3 kB / 0.5927 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.7064, allocations: 150.6 kB / 0.5928 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.7064, allocations: 8.188 kB / 0.5928 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.7065, allocations: 30.8 kB / 0.5929 GB, free: 2.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.056e-06/0.7065, allocations: 0 / 0.5929 GB, free: 2.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004962/0.707, allocations: 244.2 kB / 0.5931 GB, free: 2.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.707, allocations: 55.41 kB / 0.5932 GB, free: 2.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.7074, allocations: 279.6 kB / 0.5934 GB, free: 2.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.7074, allocations: 33.7 kB / 0.5935 GB, free: 2.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7075, allocations: 200.3 kB / 0.5936 GB, free: 2.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.7076, allocations: 90.66 kB / 0.5937 GB, free: 1.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.7076, allocations: 4 kB / 0.5937 GB, free: 1.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7078, allocations: 346.8 kB / 0.5941 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.7079, allocations: 68 kB / 0.5941 GB, free: 1.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.708, allocations: 64 kB / 0.5942 GB, free: 1.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.7082, allocations: 77.58 kB / 0.5943 GB, free: 1.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7082, allocations: 0 / 0.5943 GB, free: 1.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003868/0.7086, allocations: 267.5 kB / 0.5945 GB, free: 1.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7086, allocations: 7.953 kB / 0.5945 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.7086, allocations: 0 / 0.5945 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7087, allocations: 0 / 0.5945 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.7089, allocations: 51.91 kB / 0.5946 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.709, allocations: 4 kB / 0.5946 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.7091, allocations: 23.75 kB / 0.5946 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.7092, allocations: 15.98 kB / 0.5946 GB, free: 1.055 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.0002001/0.7094, allocations: 123.3 kB / 0.5947 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.7094, allocations: 39.53 kB / 0.5948 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.7096, allocations: 56.05 kB / 0.5948 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7096, allocations: 0 / 0.5948 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.7096, allocations: 0 / 0.5948 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7096, allocations: 11.92 kB / 0.5948 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.7101, allocations: 401.3 kB / 0.5952 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7101, allocations: 0 / 0.5952 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.7104, allocations: 51.97 kB / 0.5953 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7104, allocations: 0 / 0.5953 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.7104, allocations: 11.95 kB / 0.5953 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7104, allocations: 0 / 0.5953 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7104, allocations: 3.938 kB / 0.5953 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.7111, allocations: 455 kB / 0.5957 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7112, allocations: 140.5 kB / 0.5959 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.7113, allocations: 4 kB / 0.5959 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.7114, allocations: 15.95 kB / 0.5959 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.7115, allocations: 11.97 kB / 0.5959 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7115, allocations: 12 kB / 0.5959 GB, free: 15.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.7117, allocations: 218.2 kB / 0.5961 GB, free: 15.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7118, allocations: 0 / 0.5961 GB, free: 15.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.7121, allocations: 103.8 kB / 0.5962 GB, free: 15.35 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.0008857/0.713, allocations: 0.99 MB / 0.5972 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.7133, allocations: 187.9 kB / 0.5973 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7134, allocations: 4 kB / 0.5974 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.7135, allocations: 111.9 kB / 0.5975 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.7141, allocations: 99.92 kB / 0.5976 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.7154, allocations: 0.726 MB / 0.5983 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.7158, allocations: 0.8033 MB / 0.599 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.7159, allocations: 38.94 kB / 0.5991 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.7161, allocations: 119.4 kB / 0.5992 GB, free: 12.2 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7161, allocations: 0 / 0.5992 GB, free: 12.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.7375, allocations: 6.781 MB / 0.6058 GB, free: 5.578 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.7378, allocations: 158.7 kB / 0.606 GB, free: 5.344 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.695, allocations: 3.938 kB / 0.606 GB, free: 5.34 MB / 426.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)