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.1788/0.1788, allocations: 23.88 MB / 42.73 MB, free: 2.562 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.001204/0.001204, allocations: 119.2 kB / 52.42 MB, free: 256 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.001556/0.001556, allocations: 214.2 kB / 62.22 MB, free: 2.09 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.433/1.433, allocations: 230.6 MB / 302.5 MB, free: 7.109 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.1434/0.1434, allocations: 23.75 MB / 389.2 MB, free: 8.977 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.003355/0.003355, allocations: 126 kB / 0.5251 GB, free: 42.39 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1221, allocations: 65.97 MB / 0.5896 GB, free: 9.734 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.07003/0.1921, allocations: 22.9 MB / 0.6119 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1934, allocations: 446.9 kB / 0.6123 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1935, allocations: 7.938 kB / 0.6124 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1936, allocations: 19.78 kB / 0.6124 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.1938, allocations: 39.64 kB / 0.6124 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.016e-05/0.1938, allocations: 11.98 kB / 0.6124 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.194, allocations: 115.3 kB / 0.6125 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1942, allocations: 25.28 kB / 0.6126 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.1942, allocations: 31.88 kB / 0.6126 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.1943, allocations: 35.8 kB / 0.6126 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1943, allocations: 4 kB / 0.6126 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.1943, allocations: 4 kB / 0.6126 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.1944, allocations: 19.92 kB / 0.6126 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1944, allocations: 31.81 kB / 0.6127 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1946, allocations: 99.41 kB / 0.6128 GB, free: 2.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1946, allocations: 0 / 0.6128 GB, free: 2.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1946, allocations: 0 / 0.6128 GB, free: 2.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1946, allocations: 8 kB / 0.6128 GB, free: 2.023 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.0005932/0.1952, allocations: 337.8 kB / 0.6131 GB, free: 1.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1953, allocations: 8.031 kB / 0.6131 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.1953, allocations: 34.75 kB / 0.6131 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1954, allocations: 12.89 kB / 0.6132 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1957, allocations: 162.2 kB / 0.6133 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1957, allocations: 4.375 kB / 0.6133 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1957, allocations: 12.38 kB / 0.6133 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1958, allocations: 53.81 kB / 0.6134 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1959, allocations: 0 / 0.6134 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1959, allocations: 4 kB / 0.6134 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1959, allocations: 4 kB / 0.6134 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.1959, allocations: 23.98 kB / 0.6134 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.1965, allocations: 446.2 kB / 0.6138 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1966, allocations: 177.1 kB / 0.614 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.1967, allocations: 84.17 kB / 0.6141 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.1967, allocations: 83.27 kB / 0.6142 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.1968, allocations: 109.8 kB / 0.6143 GB, free: 372 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1968, allocations: 0 / 0.6143 GB, free: 372 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.028e-05/0.1969, allocations: 49.53 kB / 0.6143 GB, free: 316 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.197, allocations: 130.6 kB / 0.6144 GB, free: 172 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1972, allocations: 183.2 kB / 0.6146 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1973, allocations: 25.7 kB / 0.6146 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.1974, allocations: 104.1 kB / 0.6147 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.1974, allocations: 0 / 0.6147 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1974, allocations: 21.67 kB / 0.6148 GB, free: 15.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1976, allocations: 322.8 kB / 0.6151 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.1976, allocations: 0 / 0.6151 GB, free: 15.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.1976, allocations: 8 kB / 0.6151 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.1976, allocations: 8.859 kB / 0.6151 GB, free: 15.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1976, allocations: 0 / 0.6151 GB, free: 15.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.1978, allocations: 45.59 kB / 0.6151 GB, free: 15.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1978, allocations: 6.969 kB / 0.6151 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1978, allocations: 0 / 0.6151 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1978, allocations: 7.938 kB / 0.6151 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.1979, allocations: 0 / 0.6151 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1979, allocations: 3.984 kB / 0.6151 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.1979, allocations: 8.031 kB / 0.6151 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1979, allocations: 4 kB / 0.6152 GB, free: 15.39 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.0001366/0.198, allocations: 189.1 kB / 0.6153 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.1981, allocations: 112.9 kB / 0.6154 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.1982, allocations: 125.2 kB / 0.6156 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-05/0.1983, allocations: 184.2 kB / 0.6157 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-05/0.1984, allocations: 180.2 kB / 0.6159 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/0.1985, allocations: 184.2 kB / 0.6161 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.1988, allocations: 404.3 kB / 0.6165 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/0.1989, allocations: 104.9 kB / 0.6166 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.1989, allocations: 109 kB / 0.6167 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.523e-05/0.199, allocations: 176.4 kB / 0.6168 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.1991, allocations: 184.1 kB / 0.617 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001039/0.1992, allocations: 184.2 kB / 0.6172 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001018/0.1993, allocations: 188.2 kB / 0.6174 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1995, allocations: 315.7 kB / 0.6177 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1996, allocations: 120.9 kB / 0.6178 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1997, allocations: 180.3 kB / 0.618 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1998, allocations: 108.9 kB / 0.6181 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.1999, allocations: 176.3 kB / 0.6182 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.2, allocations: 112.9 kB / 0.6183 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.2001, allocations: 133.2 kB / 0.6185 GB, free: 11.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2001, allocations: 0 / 0.6185 GB, free: 11.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.2003, allocations: 16 kB / 0.6185 GB, free: 11.78 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.0005399/0.2009, allocations: 0.8048 MB / 0.6193 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.201, allocations: 8 kB / 0.6193 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.201, allocations: 3.938 kB / 0.6193 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.201, allocations: 0 / 0.6193 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.2017, allocations: 0.5029 MB / 0.6198 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2036, allocations: 1.648 MB / 0.6214 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.403e-05/0.2036, allocations: 80.19 kB / 0.6215 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.2037, allocations: 16.64 kB / 0.6215 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.2037, allocations: 27.44 kB / 0.6215 GB, free: 8.562 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2037, allocations: 0 / 0.6215 GB, free: 8.562 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.2353, allocations: 3.845 MB / 0.6253 GB, free: 4.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 6.75 kB / 0.6253 GB, free: 4.855 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.418298559030518] Failed to read output from testmodel.py, exit status != 0: 11.356686739018187 11.372617767 11.174908555 Calling exit ...