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.1566/0.1566, allocations: 23.87 MB / 42.7 MB, free: 2.637 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.001276/0.001276, allocations: 104.5 kB / 52.39 MB, free: 360 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.001606/0.001606, allocations: 210.2 kB / 62.22 MB, free: 2.168 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.508/1.508, allocations: 230.6 MB / 302.5 MB, free: 6.84 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.1489/0.1489, allocations: 23.71 MB / 389.1 MB, free: 9.191 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.003242/0.003242, allocations: 127.3 kB / 0.5252 GB, free: 42.42 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1119, allocations: 65.97 MB / 0.5896 GB, free: 9.973 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.03489/0.1468, allocations: 22.86 MB / 0.6119 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1478, allocations: 482.6 kB / 0.6124 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1479, allocations: 3.938 kB / 0.6124 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.148, allocations: 23.84 kB / 0.6124 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.1481, allocations: 39.58 kB / 0.6125 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.564e-05/0.1482, allocations: 15.98 kB / 0.6125 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1484, allocations: 107.3 kB / 0.6126 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1485, allocations: 21.06 kB / 0.6126 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.1485, allocations: 43.73 kB / 0.6126 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.1486, allocations: 43.8 kB / 0.6127 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1486, allocations: 4 kB / 0.6127 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.1486, allocations: 4 kB / 0.6127 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.1486, allocations: 7.938 kB / 0.6127 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.1487, allocations: 47.73 kB / 0.6127 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1489, allocations: 91.59 kB / 0.6128 GB, free: 2.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1489, allocations: 0 / 0.6128 GB, free: 2.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1489, allocations: 0 / 0.6128 GB, free: 2.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1489, allocations: 0 / 0.6128 GB, free: 2.258 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.0004639/0.1493, allocations: 337.7 kB / 0.6131 GB, free: 1.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1494, allocations: 16.03 kB / 0.6132 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.1494, allocations: 34.75 kB / 0.6132 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.1494, allocations: 12.89 kB / 0.6132 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1497, allocations: 154.3 kB / 0.6134 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1497, allocations: 8.312 kB / 0.6134 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1497, allocations: 4.375 kB / 0.6134 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.1498, allocations: 69.75 kB / 0.6134 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1498, allocations: 0 / 0.6134 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1498, allocations: 0 / 0.6134 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1498, allocations: 0 / 0.6134 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/0.1499, allocations: 23.98 kB / 0.6135 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.1504, allocations: 454.2 kB / 0.6139 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.1505, allocations: 173.1 kB / 0.6141 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.1506, allocations: 84.14 kB / 0.6141 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1506, allocations: 83.2 kB / 0.6142 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.046e-05/0.1507, allocations: 105.8 kB / 0.6143 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1507, allocations: 3.938 kB / 0.6143 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.084e-05/0.1508, allocations: 45.55 kB / 0.6144 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.1509, allocations: 130.7 kB / 0.6145 GB, free: 408 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.151, allocations: 187.2 kB / 0.6147 GB, free: 208 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1511, allocations: 25.7 kB / 0.6147 GB, free: 176 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.1511, allocations: 104.1 kB / 0.6148 GB, free: 68 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.1511, allocations: 0 / 0.6148 GB, free: 68 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1512, allocations: 13.83 kB / 0.6148 GB, free: 48 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1513, allocations: 322.8 kB / 0.6151 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.1514, allocations: 4 kB / 0.6151 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.1514, allocations: 11.94 kB / 0.6151 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.1514, allocations: 8.859 kB / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1514, allocations: 0 / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001042/0.1515, allocations: 45.61 kB / 0.6152 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1515, allocations: 11.98 kB / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1515, allocations: 3.984 kB / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1515, allocations: 3.938 kB / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.224e-05/0.1516, allocations: 0 / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1516, allocations: 0 / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.1516, allocations: 8.094 kB / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1516, allocations: 4 kB / 0.6152 GB, free: 15.61 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.0001184/0.1517, allocations: 193.2 kB / 0.6154 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.1518, allocations: 116.8 kB / 0.6155 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.1519, allocations: 117.2 kB / 0.6156 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.163e-05/0.152, allocations: 192.1 kB / 0.6158 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-05/0.152, allocations: 180.3 kB / 0.616 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.928e-05/0.1521, allocations: 176.3 kB / 0.6161 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.1524, allocations: 412.2 kB / 0.6165 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.1524, allocations: 101 kB / 0.6166 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.1525, allocations: 104.9 kB / 0.6167 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.213e-05/0.1526, allocations: 184.3 kB / 0.6169 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/0.1526, allocations: 180.3 kB / 0.6171 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.175e-05/0.1527, allocations: 184.1 kB / 0.6172 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.004e-05/0.1528, allocations: 180.2 kB / 0.6174 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.153, allocations: 315.7 kB / 0.6177 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.153, allocations: 116.8 kB / 0.6178 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1531, allocations: 188.2 kB / 0.618 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1532, allocations: 104.9 kB / 0.6181 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.1533, allocations: 184.2 kB / 0.6183 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.1534, allocations: 101 kB / 0.6184 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1535, allocations: 137.2 kB / 0.6185 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1535, allocations: 4 kB / 0.6185 GB, free: 12.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.1537, allocations: 19.88 kB / 0.6185 GB, free: 12 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.0004821/0.1542, allocations: 0.8087 MB / 0.6193 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.794e-05/0.1543, allocations: 7.938 kB / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1543, allocations: 4.062 kB / 0.6193 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1543, allocations: 0 / 0.6193 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.1549, allocations: 0.5056 MB / 0.6198 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.1565, allocations: 1.644 MB / 0.6214 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1568, allocations: 0.6963 MB / 0.6221 GB, free: 8.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.1568, allocations: 8.641 kB / 0.6221 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1569, allocations: 23.44 kB / 0.6221 GB, free: 8.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1569, allocations: 4 kB / 0.6222 GB, free: 8.156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.1862, allocations: 3.162 MB / 0.6252 GB, free: 5.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.93, allocations: 4.062 kB / 0.6252 GB, free: 5.117 MB / 446.1 MB " [Timeout remaining time 649] (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: 14.144086444001005] Failed to read output from testmodel.py, exit status != 0: 11.033234558999538 11.054514869 10.901821833 Calling exit ...