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.1808/0.1808, allocations: 23.87 MB / 43.49 MB, free: 2.668 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.001448/0.001448, allocations: 105.4 kB / 53.17 MB, free: 368 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.001564/0.001564, allocations: 206.3 kB / 63 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.586/1.586, allocations: 230.6 MB / 303.3 MB, free: 6.871 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.1656/0.1656, allocations: 23.71 MB / 389.9 MB, free: 9.188 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="cs",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.003423/0.003423, allocations: 121.8 kB / 0.5259 GB, free: 42.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1544, allocations: 65.98 MB / 0.5904 GB, free: 9.969 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.04078/0.1952, allocations: 22.67 MB / 0.6125 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1964, allocations: 486.6 kB / 0.613 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1965, allocations: 15.88 kB / 0.613 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1967, allocations: 19.78 kB / 0.613 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1968, allocations: 39.64 kB / 0.6131 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.027e-05/0.1968, allocations: 11.98 kB / 0.6131 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.197, allocations: 111.3 kB / 0.6132 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1972, allocations: 29.03 kB / 0.6132 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.1972, allocations: 31.81 kB / 0.6132 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.1973, allocations: 39.8 kB / 0.6133 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1973, allocations: 4 kB / 0.6133 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1973, allocations: 8 kB / 0.6133 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1974, allocations: 15.92 kB / 0.6133 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1974, allocations: 43.75 kB / 0.6133 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1976, allocations: 91.53 kB / 0.6134 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1976, allocations: 0 / 0.6134 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1976, allocations: 0 / 0.6134 GB, free: 2.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1976, allocations: 0 / 0.6134 GB, free: 2.441 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.0005593/0.1982, allocations: 337.8 kB / 0.6137 GB, free: 2.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1982, allocations: 8.031 kB / 0.6137 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.162e-05/0.1982, allocations: 12.19 kB / 0.6138 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1983, allocations: 30.75 kB / 0.6138 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.1983, allocations: 12.83 kB / 0.6138 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1986, allocations: 162.2 kB / 0.614 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1986, allocations: 4.375 kB / 0.614 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1986, allocations: 8.375 kB / 0.614 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1988, allocations: 61.61 kB / 0.614 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1988, allocations: 0 / 0.614 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1988, allocations: 8 kB / 0.614 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1988, allocations: 0 / 0.614 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.1988, allocations: 23.98 kB / 0.6141 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.1994, allocations: 446.3 kB / 0.6145 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1996, allocations: 177.1 kB / 0.6147 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.1996, allocations: 84.14 kB / 0.6147 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1997, allocations: 79.28 kB / 0.6148 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.042e-05/0.1997, allocations: 109.8 kB / 0.6149 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1997, allocations: 0 / 0.6149 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.1998, allocations: 41.55 kB / 0.615 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.1999, allocations: 134.6 kB / 0.6151 GB, free: 0.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2001, allocations: 187.2 kB / 0.6153 GB, free: 396 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2001, allocations: 25.7 kB / 0.6153 GB, free: 364 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.2002, allocations: 108.2 kB / 0.6154 GB, free: 252 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.2002, allocations: 3.938 kB / 0.6154 GB, free: 248 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.2003, allocations: 9.719 kB / 0.6154 GB, free: 232 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2004, allocations: 330.8 kB / 0.6157 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.2005, allocations: 4 kB / 0.6157 GB, free: 15.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.2005, allocations: 4 kB / 0.6157 GB, free: 15.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.2005, allocations: 4.859 kB / 0.6157 GB, free: 15.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2005, allocations: 4 kB / 0.6157 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001183/0.2006, allocations: 57.53 kB / 0.6158 GB, free: 15.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2006, allocations: 4 kB / 0.6158 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2006, allocations: 4 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2007, allocations: 3.938 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.2007, allocations: 0 / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2007, allocations: 4.094 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.2007, allocations: 0 / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2008, allocations: 4 kB / 0.6158 GB, free: 15.79 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.0001266/0.2009, allocations: 189.1 kB / 0.616 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.201, allocations: 112.9 kB / 0.6161 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.2011, allocations: 129.1 kB / 0.6162 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.711e-05/0.2012, allocations: 180.3 kB / 0.6164 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.2013, allocations: 184.3 kB / 0.6166 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/0.2014, allocations: 184.2 kB / 0.6167 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.2017, allocations: 400.3 kB / 0.6171 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-05/0.2018, allocations: 112.9 kB / 0.6172 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.2018, allocations: 101 kB / 0.6173 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.883e-05/0.2019, allocations: 180.3 kB / 0.6175 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.202, allocations: 184.1 kB / 0.6177 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.991e-05/0.2021, allocations: 184.2 kB / 0.6178 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.353e-05/0.2022, allocations: 180.2 kB / 0.618 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.2024, allocations: 315.7 kB / 0.6183 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.2025, allocations: 116.9 kB / 0.6184 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2026, allocations: 184.2 kB / 0.6186 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.2027, allocations: 104.9 kB / 0.6187 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.2028, allocations: 180.3 kB / 0.6189 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.2028, allocations: 104.9 kB / 0.619 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.203, allocations: 141.2 kB / 0.6191 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.203, allocations: 0 / 0.6191 GB, free: 12.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000253/0.2032, allocations: 15.94 kB / 0.6191 GB, free: 12.18 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.0004926/0.2037, allocations: 0.8087 MB / 0.6199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.2038, allocations: 11.94 kB / 0.6199 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2038, allocations: 3.938 kB / 0.6199 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2038, allocations: 0 / 0.6199 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.2045, allocations: 0.5105 MB / 0.6204 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2063, allocations: 1.648 MB / 0.622 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2066, allocations: 0.6963 MB / 0.6227 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.2067, allocations: 8.641 kB / 0.6227 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.2068, allocations: 31.44 kB / 0.6228 GB, free: 8.328 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2068, allocations: 0 / 0.6228 GB, free: 8.328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.2331, allocations: 3.187 MB / 0.6259 GB, free: 5.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.74, allocations: 7.859 kB / 0.6259 GB, free: 5.266 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.209873734973371] Failed to read output from testmodel.py, exit status != 0: 11.900810513994657 11.916664669 11.715916269 Calling exit ...