Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.1485/0.1485, allocations: 23.86 MB / 40.21 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.001273/0.001273, allocations: 109.7 kB / 49.57 MB, free: 2.609 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.001578/0.001578, allocations: 223.2 kB / 59.06 MB, free: 5.988 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.581/1.581, allocations: 230.5 MB / 298.9 MB, free: 7.617 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.151/0.151, allocations: 23.7 MB / 385.2 MB, free: 10.31 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.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",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.003333/0.003333, allocations: 124.2 kB / 0.5196 GB, free: 42.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1436, allocations: 65.91 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.SkinHeatFlow): time 0.03799/0.1816, allocations: 22.66 MB / 0.6061 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1828, allocations: 482.6 kB / 0.6066 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.183, allocations: 7.938 kB / 0.6066 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1831, allocations: 15.86 kB / 0.6066 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1832, allocations: 47.56 kB / 0.6066 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.887e-05/0.1832, allocations: 15.98 kB / 0.6066 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1834, allocations: 99.36 kB / 0.6067 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1835, allocations: 24.84 kB / 0.6068 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.1836, allocations: 47.73 kB / 0.6068 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.1837, allocations: 35.8 kB / 0.6068 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1837, allocations: 4 kB / 0.6068 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1837, allocations: 4 kB / 0.6068 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.1838, allocations: 19.94 kB / 0.6069 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.1838, allocations: 39.75 kB / 0.6069 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.184, allocations: 91.59 kB / 0.607 GB, free: 4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.184, allocations: 3.938 kB / 0.607 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.184, allocations: 0 / 0.607 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.184, allocations: 0 / 0.607 GB, free: 3.996 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.0006157/0.1846, allocations: 410.8 kB / 0.6074 GB, free: 3.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1847, allocations: 12.03 kB / 0.6074 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.1847, allocations: 38.73 kB / 0.6074 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1848, allocations: 20.83 kB / 0.6075 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1851, allocations: 217 kB / 0.6077 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1851, allocations: 384 / 0.6077 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1851, allocations: 12.31 kB / 0.6077 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1852, allocations: 61.8 kB / 0.6077 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1852, allocations: 3.984 kB / 0.6077 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1853, allocations: 4 kB / 0.6077 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1853, allocations: 4 kB / 0.6077 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.1853, allocations: 20 kB / 0.6078 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.1859, allocations: 483.2 kB / 0.6082 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.186, allocations: 169.1 kB / 0.6084 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1861, allocations: 88.14 kB / 0.6085 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1861, allocations: 83.22 kB / 0.6086 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.1862, allocations: 105.8 kB / 0.6087 GB, free: 2.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1862, allocations: 0 / 0.6087 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001177/0.1863, allocations: 45.55 kB / 0.6087 GB, free: 2.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.1864, allocations: 126.7 kB / 0.6088 GB, free: 1.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1866, allocations: 183.1 kB / 0.609 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1866, allocations: 29.7 kB / 0.609 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1867, allocations: 112.2 kB / 0.6091 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/0.1867, allocations: 3.938 kB / 0.6091 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1868, allocations: 17.72 kB / 0.6091 GB, free: 1.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.187, allocations: 322.8 kB / 0.6095 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.187, allocations: 0 / 0.6095 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.187, allocations: 3.938 kB / 0.6095 GB, free: 1.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.187, allocations: 16.92 kB / 0.6095 GB, free: 1.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.187, allocations: 0 / 0.6095 GB, free: 1.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001223/0.1871, allocations: 49.59 kB / 0.6095 GB, free: 1.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.1872, allocations: 4 kB / 0.6095 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1872, allocations: 0 / 0.6095 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1872, allocations: 3.938 kB / 0.6095 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.1872, allocations: 8 kB / 0.6095 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1873, allocations: 3.984 kB / 0.6095 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.1873, allocations: 0 / 0.6095 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1873, allocations: 0 / 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.0001393/0.1874, allocations: 197.8 kB / 0.6097 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.1875, allocations: 120.8 kB / 0.6098 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.1876, allocations: 121.3 kB / 0.61 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-05/0.1877, allocations: 184.1 kB / 0.6101 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-05/0.1878, allocations: 176.3 kB / 0.6103 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.623e-05/0.1879, allocations: 184.2 kB / 0.6105 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.1882, allocations: 441.1 kB / 0.6109 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/0.1883, allocations: 101 kB / 0.611 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.1884, allocations: 104.9 kB / 0.6111 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.1884, allocations: 180.3 kB / 0.6113 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.1885, allocations: 180.2 kB / 0.6114 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-05/0.1886, allocations: 188.2 kB / 0.6116 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-05/0.1887, allocations: 180.3 kB / 0.6118 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1889, allocations: 315.7 kB / 0.6121 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.189, allocations: 197.9 kB / 0.6123 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1892, allocations: 184.3 kB / 0.6125 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.1893, allocations: 104.9 kB / 0.6126 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.1894, allocations: 180.2 kB / 0.6127 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.1894, allocations: 101 kB / 0.6128 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1896, allocations: 137.2 kB / 0.613 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.613 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1898, allocations: 15.94 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.000553/0.1904, allocations: 0.8126 MB / 0.6138 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.1904, allocations: 8 kB / 0.6138 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1905, allocations: 0 / 0.6138 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1905, 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.0007071/0.1912, allocations: 0.5149 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.00178/0.1929, 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.0004005/0.1933, allocations: 0.6963 MB / 0.6166 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.474e-05/0.1934, allocations: 12.62 kB / 0.6166 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.1935, allocations: 27.44 kB / 0.6166 GB, free: 9.562 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1935, allocations: 0 / 0.6166 GB, free: 9.562 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.2236, allocations: 3.059 MB / 0.6196 GB, free: 6.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.16, allocations: 11.28 kB / 0.6196 GB, free: 6.559 MB / 446.1 MB " [Timeout remaining time 652] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow_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_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.608748255996034] Failed to read output from testmodel.py, exit status != 0: 8.23036436100665 8.256805247 8.067896887 Calling exit ...