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.1593/0.1593, allocations: 23.87 MB / 42.7 MB, free: 2.648 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.001233/0.001233, allocations: 104.7 kB / 52.38 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.001551/0.001551, allocations: 206.4 kB / 62.22 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.447/1.447, allocations: 230.6 MB / 302.5 MB, free: 6.836 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.1488/0.1488, allocations: 23.71 MB / 389.1 MB, free: 9.184 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.00331/0.00331, allocations: 116.5 kB / 0.5252 GB, free: 42.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1198, allocations: 65.98 MB / 0.5896 GB, free: 9.953 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.03622/0.156, allocations: 22.85 MB / 0.6119 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1572, allocations: 490.6 kB / 0.6124 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1574, allocations: 7.938 kB / 0.6124 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1575, allocations: 15.84 kB / 0.6124 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.1576, allocations: 43.52 kB / 0.6125 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.185e-05/0.1577, allocations: 15.98 kB / 0.6125 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1579, allocations: 107.3 kB / 0.6126 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1581, allocations: 25.05 kB / 0.6126 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.1581, allocations: 39.73 kB / 0.6126 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.1582, allocations: 43.8 kB / 0.6127 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1582, allocations: 4 kB / 0.6127 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.1583, allocations: 4 kB / 0.6127 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1583, allocations: 11.94 kB / 0.6127 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.1584, allocations: 51.73 kB / 0.6127 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1586, allocations: 83.59 kB / 0.6128 GB, free: 2.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1586, allocations: 0 / 0.6128 GB, free: 2.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1586, allocations: 0 / 0.6128 GB, free: 2.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1586, allocations: 4 kB / 0.6128 GB, free: 2.242 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.000573/0.1591, allocations: 337.7 kB / 0.6131 GB, free: 1.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1592, allocations: 8.031 kB / 0.6132 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.1592, allocations: 38.75 kB / 0.6132 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1593, allocations: 8.891 kB / 0.6132 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1596, allocations: 162.3 kB / 0.6134 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1596, allocations: 8.312 kB / 0.6134 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.1596, allocations: 4.312 kB / 0.6134 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1597, allocations: 69.75 kB / 0.6134 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1597, allocations: 0 / 0.6134 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1597, allocations: 4 kB / 0.6134 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1597, allocations: 4 kB / 0.6134 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.1598, allocations: 23.98 kB / 0.6135 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.1603, allocations: 454.2 kB / 0.6139 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1605, allocations: 169.1 kB / 0.6141 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.1605, allocations: 92.06 kB / 0.6141 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1605, allocations: 75.28 kB / 0.6142 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.1606, allocations: 109.8 kB / 0.6143 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1606, allocations: 0 / 0.6143 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.592e-05/0.1607, allocations: 41.55 kB / 0.6144 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.1607, allocations: 134.7 kB / 0.6145 GB, free: 388 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.161, allocations: 183.2 kB / 0.6147 GB, free: 192 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.161, allocations: 25.7 kB / 0.6147 GB, free: 160 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.161, allocations: 104.1 kB / 0.6148 GB, free: 52 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.161, allocations: 4 kB / 0.6148 GB, free: 48 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1611, allocations: 9.828 kB / 0.6148 GB, free: 32 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1613, allocations: 326.8 kB / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.1613, allocations: 8 kB / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.1613, allocations: 3.938 kB / 0.6151 GB, free: 15.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.1613, allocations: 12.8 kB / 0.6151 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1613, allocations: 0 / 0.6151 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1615, allocations: 49.61 kB / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.1615, allocations: 7.984 kB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1615, allocations: 0 / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1615, allocations: 3.938 kB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.1616, allocations: 4 kB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1616, allocations: 4.094 kB / 0.6152 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.1616, allocations: 0 / 0.6152 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1616, allocations: 0 / 0.6152 GB, free: 15.6 MB / 446.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.0001271/0.1617, allocations: 197.1 kB / 0.6154 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.1618, allocations: 116.9 kB / 0.6155 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.1619, allocations: 121.2 kB / 0.6156 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.828e-05/0.162, allocations: 184.1 kB / 0.6158 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-05/0.1621, allocations: 180.3 kB / 0.616 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-05/0.1621, allocations: 184.2 kB / 0.6161 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.1624, allocations: 404.2 kB / 0.6165 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.312e-05/0.1625, allocations: 101 kB / 0.6166 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.1625, allocations: 108.9 kB / 0.6167 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.1626, allocations: 184.3 kB / 0.6169 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/0.1627, allocations: 180.2 kB / 0.6171 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-05/0.1628, allocations: 180.2 kB / 0.6172 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.599e-05/0.1628, allocations: 184.2 kB / 0.6174 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.163, allocations: 315.7 kB / 0.6177 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.1631, allocations: 120.8 kB / 0.6178 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.1632, allocations: 180.3 kB / 0.618 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1633, allocations: 108.9 kB / 0.6181 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.1634, allocations: 188.2 kB / 0.6183 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.1634, allocations: 105 kB / 0.6184 GB, free: 12.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1635, allocations: 137.2 kB / 0.6185 GB, free: 12 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1635, allocations: 0 / 0.6185 GB, free: 12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1638, allocations: 19.94 kB / 0.6185 GB, free: 11.98 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.0004427/0.1642, allocations: 0.8048 MB / 0.6193 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.1643, allocations: 11.94 kB / 0.6193 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1643, allocations: 0 / 0.6193 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1643, allocations: 0 / 0.6193 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.1649, allocations: 0.5017 MB / 0.6198 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1664, allocations: 1.64 MB / 0.6214 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1668, allocations: 0.6963 MB / 0.6221 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.628e-05/0.1668, allocations: 12.64 kB / 0.6221 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1669, allocations: 27.44 kB / 0.6222 GB, free: 8.145 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1669, allocations: 0 / 0.6222 GB, free: 8.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1961, allocations: 3.16 MB / 0.6252 GB, free: 5.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.86, allocations: 6.875 kB / 0.6252 GB, free: 5.102 MB / 446.1 MB " [Timeout remaining time 649] (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: 14.024722615999053] Failed to read output from testmodel.py, exit status != 0: 10.9592988420045 10.974277214 10.812713613 Calling exit ...