Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9734/0.9734, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.34 kB / 0.5055 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 80.94 MB / 0.5845 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003602/0.1579, allocations: 2.21 MB / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1609, allocations: 2.382 MB / 0.589 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.161, allocations: 3.938 kB / 0.589 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.1625, allocations: 0.4902 MB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1627, allocations: 83.38 kB / 0.5896 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.163, allocations: 106.8 kB / 0.5897 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.1638, allocations: 0.8461 MB / 0.5905 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1639, allocations: 44.22 kB / 0.5905 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.1642, allocations: 279.5 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.1647, allocations: 331.2 kB / 0.5911 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.1648, allocations: 60 kB / 0.5912 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1649, allocations: 56 kB / 0.5912 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.1652, allocations: 231.4 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.1657, allocations: 278.9 kB / 0.5917 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.1663, allocations: 0.7244 MB / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1663, allocations: 0 / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1664, allocations: 3.938 kB / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.1664, allocations: 0 / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002456/0.1688, allocations: 0.9291 MB / 0.5933 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1689, allocations: 12.03 kB / 0.5933 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.1689, allocations: 50.73 kB / 0.5934 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.169, allocations: 40.47 kB / 0.5934 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.1706, allocations: 0.5107 MB / 0.5939 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1706, allocations: 28.12 kB / 0.5939 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.1707, allocations: 40 kB / 0.594 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.1711, allocations: 206.8 kB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1711, allocations: 3.984 kB / 0.5942 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1711, allocations: 8 kB / 0.5942 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1711, allocations: 0 / 0.5942 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.1714, allocations: 175.9 kB / 0.5944 GB, free: 10.19 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.1764, allocations: 1.439 MB / 0.5958 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.1781, allocations: 0.5832 MB / 0.5963 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.1785, allocations: 144.8 kB / 0.5965 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1785, allocations: 0 / 0.5965 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1786, allocations: 42.5 kB / 0.5965 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.1786, allocations: 4 kB / 0.5965 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.001022/0.1796, allocations: 0.5382 MB / 0.597 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1797, allocations: 59.34 kB / 0.5971 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.18, allocations: 393.4 kB / 0.5975 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.1801, allocations: 41.7 kB / 0.5975 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1802, allocations: 169.1 kB / 0.5977 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.1803, allocations: 90.66 kB / 0.5978 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.1806, allocations: 154.3 kB / 0.5979 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1807, allocations: 350.8 kB / 0.5982 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.1813, allocations: 337.1 kB / 0.5986 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.182, allocations: 397.5 kB / 0.5989 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.1828, allocations: 0.5761 MB / 0.5995 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1828, allocations: 0 / 0.5995 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001508/0.1843, allocations: 0.9209 MB / 0.6004 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.1844, allocations: 37.7 kB / 0.6004 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1844, allocations: 0 / 0.6004 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.1846, allocations: 32.88 kB / 0.6005 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/0.1856, allocations: 151.8 kB / 0.6006 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.1866, allocations: 1.422 MB / 0.602 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.1884, allocations: 115.2 kB / 0.6021 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.1884, allocations: 23.98 kB / 0.6021 GB, free: 1.883 MB / 0.4981 GB 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.1886, allocations: 185.7 kB / 0.6023 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.1887, allocations: 31.53 kB / 0.6023 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.1888, allocations: 43.41 kB / 0.6024 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1888, allocations: 4 kB / 0.6024 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1888, allocations: 0 / 0.6024 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1888, allocations: 7.984 kB / 0.6024 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.1893, allocations: 453.1 kB / 0.6028 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1893, allocations: 4 kB / 0.6028 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1896, allocations: 43.91 kB / 0.6029 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.973e-05/0.1897, allocations: 24.84 kB / 0.6029 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.1897, allocations: 15.92 kB / 0.6029 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2323/0.422, allocations: 1.419 MB / 0.6043 GB, free: 51.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4221, allocations: 1.734 kB / 0.6043 GB, free: 51.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.4229, allocations: 0.5929 MB / 0.6049 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.423, allocations: 121.2 kB / 0.605 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.423, allocations: 10.31 kB / 0.605 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.4238, allocations: 26.27 kB / 0.605 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.4238, allocations: 16.83 kB / 0.605 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4239, allocations: 4.719 kB / 0.6051 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002304/0.4241, allocations: 261.9 kB / 0.6053 GB, free: 51.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4241, allocations: 0 / 0.6053 GB, free: 51.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007399/0.4249, allocations: 239.3 kB / 0.6055 GB, free: 51.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008879/0.4257, allocations: 1.152 MB / 0.6067 GB, free: 50.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.4268, allocations: 0.7784 MB / 0.6074 GB, free: 50.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4268, allocations: 0 / 0.6074 GB, free: 50.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.4271, allocations: 264.9 kB / 0.6077 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.4277, allocations: 93.42 kB / 0.6078 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.4338, allocations: 5.523 MB / 0.6132 GB, free: 47.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.434, allocations: 0.8071 MB / 0.6139 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000452/0.4344, allocations: 115.9 kB / 0.614 GB, free: 47.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4346, allocations: 128.2 kB / 0.6142 GB, free: 46.98 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.4347, allocations: 0 / 0.6142 GB, free: 46.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.4675, allocations: 12 MB / 0.6259 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.65, allocations: 3.562 kB / 0.6259 GB, free: 46.18 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)