Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.1737/0.1737, allocations: 23.87 MB / 40.22 MB, free: 8.57 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.00139/0.00139, allocations: 108.5 kB / 49.56 MB, free: 2.633 MB / 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.001719/0.001719, allocations: 218.6 kB / 59.06 MB, free: 5.996 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.484/1.484, allocations: 230.5 MB / 298.9 MB, free: 7.609 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.1509/0.1509, allocations: 23.7 MB / 385.2 MB, free: 10.33 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) [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.003361/0.003361, allocations: 123.9 kB / 0.5196 GB, free: 42.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1431, allocations: 65.92 MB / 0.584 GB, free: 11.52 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.SkinHeatTransferOnBloodFlow): time 0.03893/0.1821, allocations: 22.67 MB / 0.6061 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1832, allocations: 478.8 kB / 0.6066 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1833, allocations: 7.938 kB / 0.6066 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1834, allocations: 19.8 kB / 0.6066 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.602e-05/0.1835, allocations: 39.62 kB / 0.6066 GB, free: 4.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.188e-05/0.1836, allocations: 15.98 kB / 0.6066 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1837, allocations: 115.3 kB / 0.6068 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1838, allocations: 24.88 kB / 0.6068 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/0.1839, allocations: 35.8 kB / 0.6068 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.184, allocations: 35.8 kB / 0.6068 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.184, allocations: 4 kB / 0.6069 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.184, allocations: 4 kB / 0.6069 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.184, allocations: 19.88 kB / 0.6069 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.1841, allocations: 43.73 kB / 0.6069 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1842, allocations: 95.58 kB / 0.607 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1842, allocations: 0 / 0.607 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1842, allocations: 0 / 0.607 GB, free: 3.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1842, allocations: 0 / 0.607 GB, free: 3.992 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005306/0.1848, allocations: 414.9 kB / 0.6074 GB, free: 3.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1848, allocations: 8.031 kB / 0.6074 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.1849, allocations: 38.69 kB / 0.6074 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1849, allocations: 12.89 kB / 0.6075 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1852, allocations: 216.8 kB / 0.6077 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1852, allocations: 12.31 kB / 0.6077 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1852, allocations: 4.375 kB / 0.6077 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1853, allocations: 61.81 kB / 0.6077 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1853, allocations: 0 / 0.6077 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1854, allocations: 0 / 0.6077 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1854, allocations: 3.984 kB / 0.6077 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.1854, allocations: 31.92 kB / 0.6078 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.1859, allocations: 483.2 kB / 0.6082 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.186, allocations: 173.1 kB / 0.6084 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.1861, allocations: 84.14 kB / 0.6085 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1861, allocations: 75.28 kB / 0.6086 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.1862, allocations: 109.8 kB / 0.6087 GB, free: 2.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.1862, allocations: 0 / 0.6087 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.938e-05/0.1863, allocations: 49.48 kB / 0.6087 GB, free: 2.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.1863, allocations: 126.7 kB / 0.6088 GB, free: 1.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1865, allocations: 183.1 kB / 0.609 GB, free: 1.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1865, allocations: 25.7 kB / 0.609 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1866, allocations: 112.1 kB / 0.6091 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.1866, allocations: 0 / 0.6091 GB, free: 1.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1867, allocations: 13.72 kB / 0.6091 GB, free: 1.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1868, allocations: 330.9 kB / 0.6095 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.1868, allocations: 3.938 kB / 0.6095 GB, free: 1.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.1868, allocations: 4 kB / 0.6095 GB, free: 1.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.1869, allocations: 8.859 kB / 0.6095 GB, free: 1.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1869, allocations: 3.984 kB / 0.6095 GB, free: 1.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.187, allocations: 49.55 kB / 0.6095 GB, free: 1.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.187, allocations: 4 kB / 0.6095 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.187, allocations: 0 / 0.6095 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.187, allocations: 4.031 kB / 0.6095 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.1871, allocations: 8 kB / 0.6095 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1871, allocations: 0 / 0.6095 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.1871, allocations: 0 / 0.6095 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1871, allocations: 4 kB / 0.6095 GB, free: 1.148 MB / 430.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001189/0.1872, allocations: 189.1 kB / 0.6097 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.1873, allocations: 124.8 kB / 0.6098 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.1874, allocations: 117.3 kB / 0.61 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.561e-05/0.1875, allocations: 184.2 kB / 0.6101 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.476e-05/0.1876, allocations: 184.2 kB / 0.6103 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.895e-05/0.1877, allocations: 184.3 kB / 0.6105 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.188, allocations: 433.1 kB / 0.6109 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/0.188, allocations: 101 kB / 0.611 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.1881, allocations: 109 kB / 0.6111 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-05/0.1882, allocations: 180.2 kB / 0.6113 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.1883, allocations: 180.2 kB / 0.6114 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.588e-05/0.1883, allocations: 184.2 kB / 0.6116 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-05/0.1884, allocations: 188.3 kB / 0.6118 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1886, allocations: 311.7 kB / 0.6121 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.1887, allocations: 194 kB / 0.6123 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.1888, allocations: 184.2 kB / 0.6125 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1889, allocations: 104.9 kB / 0.6126 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.189, allocations: 180.2 kB / 0.6127 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.1891, allocations: 112.9 kB / 0.6128 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1892, allocations: 133.2 kB / 0.613 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1892, allocations: 0 / 0.613 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1894, allocations: 12 kB / 0.613 GB, free: 13.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004804/0.1899, allocations: 0.8048 MB / 0.6138 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.291e-05/0.19, allocations: 11.94 kB / 0.6138 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.19, allocations: 3.938 kB / 0.6138 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.19, allocations: 0 / 0.6138 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.1906, allocations: 0.5106 MB / 0.6143 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1922, allocations: 1.647 MB / 0.6159 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1926, allocations: 0.6924 MB / 0.6166 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.1926, allocations: 20.62 kB / 0.6166 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.1927, allocations: 35.36 kB / 0.6166 GB, free: 9.551 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1927, allocations: 0 / 0.6166 GB, free: 9.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.2191, allocations: 3.078 MB / 0.6196 GB, free: 6.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.136, allocations: 4.609 kB / 0.6196 GB, free: 6.551 MB / 446.1 MB " [Timeout remaining time 652] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.488020688004326] Failed to read output from testmodel.py, exit status != 0: 8.209470226996928 8.224961028 8.037806046 Calling exit ...