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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09381/0.09381, allocations: 15.51 MB / 31.86 MB, free: 3.883 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 114.5 kB / 39.12 MB, free: 1.152 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 204.9 kB / 46.47 MB, free: 2.52 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 279.3 MB, free: 15.35 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.142/0.142, allocations: 23.72 MB / 362.3 MB, free: 0.7734 MB / 270.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004736/0.004736, allocations: 119.8 kB / 0.4908 GB, free: 25.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1336, allocations: 62.64 MB / 0.552 GB, free: 10.38 MB / 398.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.03599/0.1695, allocations: 24.56 MB / 0.576 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1713, allocations: 0.7907 MB / 0.5767 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1715, allocations: 11.94 kB / 0.5767 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1718, allocations: 91.08 kB / 0.5768 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1721, allocations: 194.3 kB / 0.577 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1723, allocations: 87.86 kB / 0.5771 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.1729, allocations: 0.5559 MB / 0.5776 GB, free: 172 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.1732, allocations: 128.2 kB / 0.5778 GB, free: 32 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1734, allocations: 183.3 kB / 0.5779 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.1736, allocations: 207.1 kB / 0.5781 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.1737, allocations: 32 kB / 0.5782 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.1738, allocations: 36 kB / 0.5782 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.1738, allocations: 79.64 kB / 0.5783 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.174, allocations: 223 kB / 0.5785 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.1746, allocations: 481.9 kB / 0.579 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1746, allocations: 0 / 0.579 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1746, allocations: 0 / 0.579 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1746, allocations: 0 / 0.579 GB, free: 14.81 MB / 430.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.001156/0.1757, allocations: 0.7358 MB / 0.5797 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1758, allocations: 8.031 kB / 0.5797 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.432e-05/0.1759, allocations: 62.73 kB / 0.5797 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.176, allocations: 52.61 kB / 0.5798 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.1764, allocations: 348 kB / 0.5801 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1765, allocations: 20.94 kB / 0.5801 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.1765, allocations: 28.38 kB / 0.5802 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.177, allocations: 252.9 kB / 0.5804 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.177, allocations: 7.953 kB / 0.5804 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1771, allocations: 15.98 kB / 0.5804 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1771, allocations: 12 kB / 0.5804 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.1774, allocations: 190.2 kB / 0.5806 GB, free: 13 MB / 430.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.001828/0.1793, allocations: 1.548 MB / 0.5821 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.1796, allocations: 198.6 kB / 0.5823 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1799, allocations: 124.1 kB / 0.5824 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1799, allocations: 4.234 kB / 0.5824 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1799, allocations: 34.8 kB / 0.5825 GB, free: 10.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.1799, allocations: 0 / 0.5825 GB, free: 10.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005999/0.1805, allocations: 318.5 kB / 0.5828 GB, free: 10.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1806, allocations: 55.41 kB / 0.5828 GB, free: 10.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1809, allocations: 325.6 kB / 0.5832 GB, free: 10.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1809, allocations: 29.7 kB / 0.5832 GB, free: 10.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.1811, allocations: 200.8 kB / 0.5834 GB, free: 9.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.1812, allocations: 95.25 kB / 0.5835 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.1812, allocations: 45.7 kB / 0.5835 GB, free: 9.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1814, allocations: 350.7 kB / 0.5838 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1815, allocations: 71.91 kB / 0.5839 GB, free: 9.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1817, allocations: 63.98 kB / 0.584 GB, free: 9.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.1828, allocations: 398.5 kB / 0.5843 GB, free: 8.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1828, allocations: 0 / 0.5843 GB, free: 8.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004194/0.1832, allocations: 265.3 kB / 0.5846 GB, free: 8.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1832, allocations: 4 kB / 0.5846 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1832, allocations: 4 kB / 0.5846 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1833, allocations: 4 kB / 0.5846 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1835, allocations: 51.97 kB / 0.5847 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1835, allocations: 0 / 0.5847 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1837, allocations: 27.72 kB / 0.5847 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1837, allocations: 12 kB / 0.5847 GB, free: 8.547 MB / 430.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.0002456/0.184, allocations: 167.6 kB / 0.5849 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.184, allocations: 39.77 kB / 0.5849 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.1841, allocations: 44.16 kB / 0.5849 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1841, allocations: 8 kB / 0.5849 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1841, allocations: 0 / 0.5849 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1841, allocations: 3.984 kB / 0.585 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1846, allocations: 405.2 kB / 0.5853 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1846, allocations: 0 / 0.5853 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.1849, allocations: 51.91 kB / 0.5854 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1849, allocations: 0 / 0.5854 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1849, allocations: 4 kB / 0.5854 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1849, allocations: 4 kB / 0.5854 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1849, allocations: 0 / 0.5854 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.1856, allocations: 479 kB / 0.5859 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1857, allocations: 132.8 kB / 0.586 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.1858, allocations: 8 kB / 0.586 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.186, allocations: 4 kB / 0.586 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.186, allocations: 15.97 kB / 0.586 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.186, allocations: 8 kB / 0.586 GB, free: 7.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.1862, allocations: 231.2 kB / 0.5862 GB, free: 6.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 0.5862 GB, free: 6.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1866, allocations: 95.89 kB / 0.5863 GB, free: 6.789 MB / 430.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.0009659/0.1875, allocations: 1.005 MB / 0.5873 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.1879, allocations: 196.1 kB / 0.5875 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1879, allocations: 0 / 0.5875 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1881, allocations: 104.3 kB / 0.5876 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.1887, allocations: 104 kB / 0.5877 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.1925, allocations: 3.172 MB / 0.5908 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1929, allocations: 0.7948 MB / 0.5916 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1931, allocations: 34.95 kB / 0.5916 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.1932, allocations: 119.4 kB / 0.5917 GB, free: 1.148 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1932, allocations: 0 / 0.5917 GB, free: 1.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2388/0.4321, allocations: 7.537 MB / 0.5991 GB, free: 37.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.639, allocations: 11.56 kB / 0.5991 GB, free: 37.37 MB / 430.1 MB " [Timeout remaining time 651] (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 --stepSize=1.44 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.445588340051472] Failed to read output from testmodel.py, exit status != 0: 8.7124017290771 8.731957576 8.553602923 Calling exit ...