Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_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.001621/0.001621, allocations: 108 kB / 15.61 MB, free: 152 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.002004/0.002004, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002087, allocations: 275 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 97 kB / 0.5954 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1485, allocations: 86.97 MB / 0.6803 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003448/0.152, allocations: 2.217 MB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1549, allocations: 2.39 MB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.155, allocations: 7.938 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.1563, allocations: 493.9 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1565, allocations: 95.36 kB / 0.6854 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1568, allocations: 99.84 kB / 0.6855 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007858/0.1576, allocations: 0.8421 MB / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1577, allocations: 52.2 kB / 0.6863 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.158, allocations: 271.5 kB / 0.6866 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1584, allocations: 339.1 kB / 0.6869 GB, free: 9.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.1585, allocations: 52 kB / 0.687 GB, free: 9.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1587, allocations: 56 kB / 0.687 GB, free: 9.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.1589, allocations: 223.5 kB / 0.6872 GB, free: 9.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.1592, allocations: 282.9 kB / 0.6875 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.1598, allocations: 0.7283 MB / 0.6882 GB, free: 8.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1599, allocations: 0 / 0.6882 GB, free: 8.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1599, allocations: 0 / 0.6882 GB, free: 8.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1599, allocations: 0 / 0.6882 GB, free: 8.418 MB / 494.1 MB 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.002253/0.1621, allocations: 0.9291 MB / 0.6891 GB, free: 7.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1622, allocations: 12.03 kB / 0.6891 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.1622, allocations: 46.73 kB / 0.6892 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1623, allocations: 44.47 kB / 0.6892 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.1638, allocations: 0.5107 MB / 0.6897 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1639, allocations: 28.38 kB / 0.6898 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.164, allocations: 44.27 kB / 0.6898 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1643, allocations: 205.4 kB / 0.69 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1644, allocations: 0 / 0.69 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1644, allocations: 8 kB / 0.69 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1644, allocations: 8 kB / 0.69 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.1647, allocations: 175.9 kB / 0.6902 GB, free: 6.312 MB / 494.1 MB 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.004548/0.1693, allocations: 1.428 MB / 0.6916 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.171, allocations: 0.588 MB / 0.6921 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1712, allocations: 144.8 kB / 0.6923 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1712, allocations: 416 / 0.6923 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1713, allocations: 34.56 kB / 0.6923 GB, free: 4.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 1.193e-06/0.1713, allocations: 0 / 0.6923 GB, free: 4.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.00107/0.1723, allocations: 0.5589 MB / 0.6929 GB, free: 3.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1724, allocations: 51.41 kB / 0.6929 GB, free: 3.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1728, allocations: 401.3 kB / 0.6933 GB, free: 2.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.1728, allocations: 41.7 kB / 0.6933 GB, free: 2.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.173, allocations: 157.2 kB / 0.6935 GB, free: 2.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1731, allocations: 98.55 kB / 0.6936 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1733, allocations: 150.3 kB / 0.6937 GB, free: 2.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1734, allocations: 354.8 kB / 0.6941 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.1739, allocations: 337.1 kB / 0.6944 GB, free: 1.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.1745, allocations: 397.5 kB / 0.6948 GB, free: 1.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/0.1754, allocations: 0.5723 MB / 0.6953 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1754, allocations: 3.938 kB / 0.6953 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001462/0.1768, allocations: 0.9132 MB / 0.6962 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.1769, allocations: 37.69 kB / 0.6962 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1769, allocations: 0 / 0.6962 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.1771, allocations: 28.84 kB / 0.6963 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.1779, allocations: 151.8 kB / 0.6964 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.179, allocations: 1.433 MB / 0.6978 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.1806, allocations: 111.2 kB / 0.6979 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.1806, allocations: 23.97 kB / 0.6979 GB, free: 14.01 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.0001988/0.1808, allocations: 187.1 kB / 0.6981 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.1809, allocations: 27.62 kB / 0.6982 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.181, allocations: 39.47 kB / 0.6982 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.181, allocations: 7.938 kB / 0.6982 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.181, allocations: 0 / 0.6982 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.181, allocations: 0 / 0.6982 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1815, allocations: 461 kB / 0.6986 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1815, allocations: 0 / 0.6986 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1817, allocations: 51.91 kB / 0.6987 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.1818, allocations: 28.84 kB / 0.6987 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1819, allocations: 8 kB / 0.6987 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009551/0.1828, allocations: 1.43 MB / 0.7001 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1829, allocations: 0 / 0.7001 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/0.1836, allocations: 0.5958 MB / 0.7007 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1837, allocations: 120.6 kB / 0.7008 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.1838, allocations: 12 kB / 0.7008 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.1845, allocations: 23.95 kB / 0.7008 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1846, allocations: 19.98 kB / 0.7009 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1846, allocations: 4 kB / 0.7009 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002331/0.1848, allocations: 263.1 kB / 0.7011 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1848, allocations: 0 / 0.7011 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005949/0.1854, allocations: 243.8 kB / 0.7014 GB, free: 10.27 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.00111/0.1866, allocations: 1.149 MB / 0.7025 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.1878, allocations: 0.7788 MB / 0.7032 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1878, allocations: 4 kB / 0.7032 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1882, allocations: 266.5 kB / 0.7035 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.1888, allocations: 102.2 kB / 0.7036 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/0.1958, allocations: 5.511 MB / 0.709 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1962, allocations: 0.8038 MB / 0.7098 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.1965, allocations: 111.2 kB / 0.7099 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.1967, allocations: 127.4 kB / 0.71 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.1967, allocations: 0 / 0.71 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.2312, allocations: 12.04 MB / 0.7217 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.482/9.713, allocations: 9.688 kB / 0.7218 GB, free: 5.477 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)