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.001064/0.001064, allocations: 174.2 kB / 7.647 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.4/1.4, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009047/0.0009051, allocations: 100.2 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.23/0.23, allocations: 37.09 MB / 368.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.619e-05, allocations: 3.938 kB / 434.7 MB, free: 23.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 60.09 MB / 494.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5746, allocations: 92.4 MB / 0.5735 GB, free: 7.297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5749, allocations: 75.47 kB / 0.5735 GB, free: 7.258 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.02174/0.5967, allocations: 8.684 MB / 0.582 GB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5967, allocations: 0 / 0.582 GB, free: 60 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.5967, allocations: 8 kB / 0.582 GB, free: 52 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.0008877/0.5976, allocations: 0.6041 MB / 0.5826 GB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5977, allocations: 8.031 kB / 0.5826 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.5978, allocations: 55.39 kB / 0.5827 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.5982, allocations: 335.8 kB / 0.583 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.5983, allocations: 8 kB / 0.583 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.5983, allocations: 22.64 kB / 0.583 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000318/0.5986, allocations: 170 kB / 0.5832 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.599, allocations: 196.6 kB / 0.5834 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.599, allocations: 4 kB / 0.5834 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.5991, allocations: 0 / 0.5834 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5991, allocations: 11.95 kB / 0.5834 GB, free: 14.73 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.001607/0.6007, allocations: 1.478 MB / 0.5848 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.601, allocations: 204.5 kB / 0.585 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.6012, allocations: 141.4 kB / 0.5852 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.6013, allocations: 240 / 0.5852 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.6013, allocations: 34.8 kB / 0.5852 GB, free: 12.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.6013, allocations: 4 kB / 0.5852 GB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004035/0.6017, allocations: 218.6 kB / 0.5854 GB, free: 12.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.6018, allocations: 51.41 kB / 0.5854 GB, free: 12.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.6021, allocations: 232.2 kB / 0.5857 GB, free: 12.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6021, allocations: 25.7 kB / 0.5857 GB, free: 12.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.6022, allocations: 200.3 kB / 0.5859 GB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.6023, allocations: 93.31 kB / 0.586 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.6023, allocations: 0 / 0.586 GB, free: 12.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6025, allocations: 348.4 kB / 0.5863 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.6026, allocations: 60.12 kB / 0.5864 GB, free: 11.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.6028, allocations: 68.48 kB / 0.5864 GB, free: 11.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.6029, allocations: 72.61 kB / 0.5865 GB, free: 11.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6029, allocations: 0 / 0.5865 GB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003405/0.6032, allocations: 229.1 kB / 0.5867 GB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6033, allocations: 7.938 kB / 0.5867 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6033, allocations: 0 / 0.5867 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6033, allocations: 0 / 0.5867 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.6036, allocations: 55.53 kB / 0.5868 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6036, allocations: 11.95 kB / 0.5868 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.6038, allocations: 11.84 kB / 0.5868 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.6038, allocations: 14.73 kB / 0.5868 GB, free: 11.55 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.0001908/0.604, allocations: 117.8 kB / 0.5869 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003649/0.6044, allocations: 217.9 kB / 0.5871 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.6044, allocations: 39.53 kB / 0.5872 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.6045, allocations: 40.17 kB / 0.5872 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6046, allocations: 7.953 kB / 0.5872 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6046, allocations: 0 / 0.5872 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6046, allocations: 0 / 0.5872 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.6051, allocations: 348.9 kB / 0.5875 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6051, allocations: 4 kB / 0.5876 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.6053, allocations: 46.92 kB / 0.5876 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6054, allocations: 4 kB / 0.5876 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.6054, allocations: 0 / 0.5876 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6054, allocations: 4 kB / 0.5876 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.6054, allocations: 3.953 kB / 0.5876 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.606, allocations: 434.1 kB / 0.588 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.6061, allocations: 130 kB / 0.5881 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.6062, allocations: 3.938 kB / 0.5881 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.6063, allocations: 11.12 kB / 0.5882 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.6064, allocations: 19.92 kB / 0.5882 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.6064, allocations: 10.88 kB / 0.5882 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.6066, allocations: 178.9 kB / 0.5884 GB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6066, allocations: 0 / 0.5884 GB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.6069, allocations: 95.78 kB / 0.5885 GB, free: 10.1 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.0007869/0.6077, allocations: 0.9601 MB / 0.5894 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.608, allocations: 181.9 kB / 0.5896 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6081, allocations: 0 / 0.5896 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.6082, allocations: 99.75 kB / 0.5897 GB, free: 9.047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.6087, allocations: 74.28 kB / 0.5897 GB, free: 8.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.61, allocations: 0.7174 MB / 0.5904 GB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.6104, allocations: 0.8069 MB / 0.5912 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.6105, allocations: 26.06 kB / 0.5912 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.6107, allocations: 111.9 kB / 0.5913 GB, free: 7.395 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6107, allocations: 0 / 0.5913 GB, free: 7.395 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.636, allocations: 5.625 MB / 0.5968 GB, free: 1.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.6363, allocations: 143 kB / 0.597 GB, free: 1.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.629, allocations: 0 / 0.597 GB, free: 1.621 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)