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/Chemical 1.4.0/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/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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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/Chemical 1.4.0/package.mo): time 0.1035/0.1035, allocations: 15.29 MB / 30.41 MB, free: 4.395 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 107.2 kB / 35.38 MB, free: 3.453 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 193.1 kB / 40.47 MB, free: 7.531 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 268.3 MB, free: 7.586 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1481/0.1481, allocations: 23.35 MB / 346 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 111.8 kB / 417.6 MB, free: 30.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1419, allocations: 59.37 MB / 476.9 MB, free: 3.355 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.ThermalBody_QHP): time 0.03327/0.1752, allocations: 22.63 MB / 499.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1772, allocations: 0.7984 MB / 0.4886 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1774, allocations: 11.94 kB / 0.4886 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1777, allocations: 67.45 kB / 0.4887 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.178, allocations: 170.6 kB / 0.4889 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1782, allocations: 75.88 kB / 0.4889 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.1787, allocations: 0.5403 MB / 0.4895 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.179, allocations: 152.5 kB / 0.4896 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1792, allocations: 175.3 kB / 0.4898 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1794, allocations: 195.1 kB / 0.49 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.1795, allocations: 24 kB / 0.49 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.1796, allocations: 24 kB / 0.49 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.1796, allocations: 67.64 kB / 0.4901 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.1799, allocations: 226.9 kB / 0.4903 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.1803, allocations: 434.5 kB / 0.4907 GB, free: 9.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1803, allocations: 4 kB / 0.4907 GB, free: 9.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1803, allocations: 0 / 0.4907 GB, free: 9.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1803, allocations: 0 / 0.4907 GB, free: 9.883 MB / 366.1 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.001124/0.1814, allocations: 0.7282 MB / 0.4914 GB, free: 9.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1815, allocations: 12.59 kB / 0.4914 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.1816, allocations: 70.67 kB / 0.4915 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.1817, allocations: 52.31 kB / 0.4916 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1821, allocations: 315.9 kB / 0.4919 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.1821, allocations: 24.88 kB / 0.4919 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.1822, allocations: 32.38 kB / 0.4919 GB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.1826, allocations: 249 kB / 0.4921 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1827, allocations: 0 / 0.4921 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1827, allocations: 16 kB / 0.4922 GB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1827, allocations: 4 kB / 0.4922 GB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.1831, allocations: 190.2 kB / 0.4923 GB, free: 8.102 MB / 366.1 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.001807/0.1849, allocations: 1.551 MB / 0.4939 GB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.1853, allocations: 223.2 kB / 0.4941 GB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.1855, allocations: 148.5 kB / 0.4942 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1856, allocations: 4.234 kB / 0.4942 GB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1856, allocations: 38.78 kB / 0.4943 GB, free: 5.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.1856, allocations: 0 / 0.4943 GB, free: 5.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006774/0.1863, allocations: 319.7 kB / 0.4946 GB, free: 5.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1864, allocations: 59.34 kB / 0.4946 GB, free: 5.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1867, allocations: 321.7 kB / 0.4949 GB, free: 5.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1868, allocations: 33.7 kB / 0.495 GB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1869, allocations: 192.7 kB / 0.4951 GB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.187, allocations: 98.56 kB / 0.4952 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1871, allocations: 41.7 kB / 0.4953 GB, free: 4.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1873, allocations: 350.7 kB / 0.4956 GB, free: 4.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1875, allocations: 71.98 kB / 0.4957 GB, free: 4.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1876, allocations: 75.95 kB / 0.4958 GB, free: 4.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1888, allocations: 385.8 kB / 0.4961 GB, free: 3.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1889, allocations: 4 kB / 0.4961 GB, free: 3.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004297/0.1893, allocations: 261.4 kB / 0.4964 GB, free: 3.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1893, allocations: 12 kB / 0.4964 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1893, allocations: 0 / 0.4964 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.1894, allocations: 3.984 kB / 0.4964 GB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.1897, allocations: 47.92 kB / 0.4964 GB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1897, allocations: 4 kB / 0.4964 GB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1899, allocations: 35.67 kB / 0.4965 GB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1899, allocations: 8 kB / 0.4965 GB, free: 3.594 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(flow=false 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003175/0.1902, allocations: 173.2 kB / 0.4966 GB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.1903, allocations: 35.53 kB / 0.4967 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1904, allocations: 44.16 kB / 0.4967 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1904, allocations: 4 kB / 0.4967 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1904, allocations: 0 / 0.4967 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1905, allocations: 0 / 0.4967 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.191, allocations: 413.1 kB / 0.4971 GB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.191, allocations: 4 kB / 0.4971 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.1913, allocations: 43.98 kB / 0.4972 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1913, allocations: 0 / 0.4972 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.1914, allocations: 4 kB / 0.4972 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.1914, allocations: 11.92 kB / 0.4972 GB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1914, allocations: 0 / 0.4972 GB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.1921, allocations: 466.9 kB / 0.4976 GB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.1923, allocations: 136.6 kB / 0.4978 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.1923, allocations: 4 kB / 0.4978 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1925, allocations: 8 kB / 0.4978 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.1926, allocations: 23.95 kB / 0.4978 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1926, allocations: 4 kB / 0.4978 GB, free: 2.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1929, allocations: 235.1 kB / 0.498 GB, free: 1.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.1929, allocations: 0 / 0.498 GB, free: 1.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.1932, allocations: 99.78 kB / 0.4981 GB, free: 1.832 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.1943, allocations: 1.005 MB / 0.4991 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1946, allocations: 199.9 kB / 0.4993 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1946, allocations: 0 / 0.4993 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.1948, allocations: 112.4 kB / 0.4994 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.1955, allocations: 97.66 kB / 0.4995 GB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.1994, allocations: 3.302 MB / 0.5027 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1998, allocations: 0.7953 MB / 0.5035 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.1999, allocations: 30.95 kB / 0.5035 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.2001, allocations: 119.4 kB / 0.5036 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2001, allocations: 7.938 kB / 0.5036 GB, free: 12.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.2184, allocations: 7.048 MB / 0.5105 GB, free: 5.098 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.2186, allocations: 196 kB / 0.5107 GB, free: 4.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.192, allocations: 3.938 kB / 0.5107 GB, free: 4.836 MB / 382.1 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/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)