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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1587/0.1587, allocations: 23.87 MB / 43.45 MB, free: 2.641 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 109.2 kB / 53.13 MB, free: 364 kB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 210.2 kB / 62.96 MB, free: 2.172 MB / 46.55 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 303.2 MB, free: 6.848 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1645/0.1645, allocations: 23.72 MB / 389.9 MB, free: 9.176 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003564/0.003564, allocations: 118.1 kB / 0.5264 GB, free: 42.2 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1302, allocations: 65.96 MB / 0.5908 GB, free: 9.457 MB / 414.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.04163/0.1718, allocations: 24.8 MB / 0.615 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1739, allocations: 0.8296 MB / 0.6159 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.1742, allocations: 15.88 kB / 0.6159 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1744, allocations: 87.2 kB / 0.616 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1748, allocations: 186.3 kB / 0.6161 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1751, allocations: 95.86 kB / 0.6162 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.1757, allocations: 0.5636 MB / 0.6168 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.176, allocations: 124.7 kB / 0.6169 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.1762, allocations: 183.4 kB / 0.6171 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.1765, allocations: 215 kB / 0.6173 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.1766, allocations: 32 kB / 0.6173 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.1767, allocations: 36 kB / 0.6173 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.1768, allocations: 75.69 kB / 0.6174 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.177, allocations: 227 kB / 0.6176 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.1776, allocations: 469.9 kB / 0.6181 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1776, allocations: 4 kB / 0.6181 GB, free: 13.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1776, allocations: 4 kB / 0.6181 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1776, allocations: 0 / 0.6181 GB, free: 13.59 MB / 446.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.001198/0.1788, allocations: 0.6644 MB / 0.6187 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1788, allocations: 8.031 kB / 0.6187 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.1789, allocations: 48.66 kB / 0.6188 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.1794, allocations: 282.2 kB / 0.6191 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.1794, allocations: 25.03 kB / 0.6191 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.1795, allocations: 24.38 kB / 0.6191 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.1799, allocations: 262.3 kB / 0.6194 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1799, allocations: 0 / 0.6194 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.18, allocations: 12 kB / 0.6194 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.18, allocations: 8 kB / 0.6194 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.1804, allocations: 186.5 kB / 0.6196 GB, free: 12.03 MB / 446.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.001988/0.1823, allocations: 1.509 MB / 0.621 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.1828, allocations: 198 kB / 0.6212 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.183, allocations: 117.3 kB / 0.6213 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.183, allocations: 240 / 0.6213 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.1831, allocations: 46.78 kB / 0.6214 GB, free: 9.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.123e-06/0.1831, allocations: 0 / 0.6214 GB, free: 9.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006901/0.1838, allocations: 312.9 kB / 0.6217 GB, free: 9.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.1838, allocations: 59.34 kB / 0.6217 GB, free: 9.566 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.1843, allocations: 321.7 kB / 0.622 GB, free: 9.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.1843, allocations: 33.7 kB / 0.6221 GB, free: 9.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1845, allocations: 192.8 kB / 0.6222 GB, free: 9.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1846, allocations: 103.2 kB / 0.6223 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.1847, allocations: 49.7 kB / 0.6224 GB, free: 8.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.1849, allocations: 350.7 kB / 0.6227 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.185, allocations: 63.98 kB / 0.6228 GB, free: 8.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1852, allocations: 76.91 kB / 0.6229 GB, free: 8.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.1865, allocations: 394 kB / 0.6232 GB, free: 7.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1865, allocations: 4 kB / 0.6232 GB, free: 7.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000445/0.1869, allocations: 257.4 kB / 0.6235 GB, free: 7.719 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1869, allocations: 8 kB / 0.6235 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1869, allocations: 0 / 0.6235 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.187, allocations: 7.922 kB / 0.6235 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1872, allocations: 47.98 kB / 0.6235 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1873, allocations: 7.938 kB / 0.6236 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1874, allocations: 23.78 kB / 0.6236 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.1874, allocations: 8 kB / 0.6236 GB, free: 7.617 MB / 446.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 = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"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.000257/0.1877, allocations: 163.8 kB / 0.6237 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1878, allocations: 39.72 kB / 0.6238 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1879, allocations: 48.23 kB / 0.6238 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1879, allocations: 4 kB / 0.6238 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1879, allocations: 0 / 0.6238 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1879, allocations: 0 / 0.6238 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.1884, allocations: 380.3 kB / 0.6242 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1884, allocations: 3.938 kB / 0.6242 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.1887, allocations: 47.97 kB / 0.6242 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1887, allocations: 0 / 0.6242 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1887, allocations: 8 kB / 0.6243 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1887, allocations: 0 / 0.6243 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1887, allocations: 0 / 0.6243 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.1894, allocations: 475.1 kB / 0.6247 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1896, allocations: 59.67 kB / 0.6248 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.1896, allocations: 4 kB / 0.6248 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1898, allocations: 4 kB / 0.6248 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1898, allocations: 19.97 kB / 0.6248 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1898, allocations: 7.984 kB / 0.6248 GB, free: 6.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1901, allocations: 227.2 kB / 0.625 GB, free: 6.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1901, allocations: 0 / 0.625 GB, free: 6.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1904, allocations: 95.89 kB / 0.6251 GB, free: 5.996 MB / 446.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.0001264/0.1906, allocations: 107.1 kB / 0.6252 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.191, allocations: 196.1 kB / 0.6254 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.191, allocations: 0 / 0.6254 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1911, allocations: 99.91 kB / 0.6255 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.1917, allocations: 106.6 kB / 0.6256 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1932, allocations: 0.8762 MB / 0.6264 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1937, allocations: 0.7948 MB / 0.6272 GB, free: 3.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1938, allocations: 31.44 kB / 0.6273 GB, free: 3.723 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1938, allocations: 0 / 0.6273 GB, free: 3.723 MB / 446.1 MB Notification: Performance of Templates: time 0.007798/0.2016, allocations: 4.436 MB / 0.6316 GB, free: 15.31 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.418627605075017] Failed to read output from testmodel.py, exit status != 0: 0.20949358819052577 0.225621014 0.044529701000000005 Calling exit ...