Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004866/0.004866, allocations: 99.83 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8273/0.8273, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.42 kB / 0.5951 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1571, allocations: 82.03 MB / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003929/0.1611, allocations: 2.217 MB / 0.6774 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003852/0.165, allocations: 2.394 MB / 0.6797 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.1652, allocations: 4 kB / 0.6797 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.1674, allocations: 0.4901 MB / 0.6802 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1677, allocations: 99.36 kB / 0.6803 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.1682, allocations: 99.84 kB / 0.6804 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1692, allocations: 0.8421 MB / 0.6812 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1695, allocations: 48.22 kB / 0.6812 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.1701, allocations: 275.5 kB / 0.6815 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007877/0.1709, allocations: 335.2 kB / 0.6818 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.1711, allocations: 52 kB / 0.6819 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.1713, allocations: 56 kB / 0.6819 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.1717, allocations: 235.4 kB / 0.6821 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.1724, allocations: 282.9 kB / 0.6824 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1734, allocations: 0.763 MB / 0.6832 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1734, allocations: 4 kB / 0.6832 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1734, allocations: 0 / 0.6832 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.1734, allocations: 0 / 0.6832 GB, free: 2.672 MB / 0.5137 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.002622/0.1761, allocations: 0.9367 MB / 0.6841 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1761, allocations: 12.03 kB / 0.6841 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.1762, allocations: 50.67 kB / 0.6841 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1763, allocations: 48.66 kB / 0.6842 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.1779, allocations: 0.5226 MB / 0.6847 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.178, allocations: 24.38 kB / 0.6847 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1781, allocations: 40.38 kB / 0.6848 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.1785, allocations: 201.5 kB / 0.6849 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1785, allocations: 0 / 0.6849 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.1785, allocations: 8 kB / 0.685 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1785, allocations: 7.938 kB / 0.685 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.1788, allocations: 171.9 kB / 0.6851 GB, free: 0.5547 MB / 0.5137 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.00472/0.1836, allocations: 1.432 MB / 0.6865 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.1854, allocations: 0.5919 MB / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1857, allocations: 136.8 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1857, allocations: 4 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1857, allocations: 34.56 kB / 0.6873 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=24): time 2.194e-06/0.1857, allocations: 0 / 0.6873 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24): time 0.001171/0.1869, allocations: 0.5521 MB / 0.6878 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.187, allocations: 51.41 kB / 0.6879 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.1874, allocations: 405.4 kB / 0.6882 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/0.1875, allocations: 37.7 kB / 0.6883 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1877, allocations: 161.3 kB / 0.6884 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.1878, allocations: 103.2 kB / 0.6885 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.1881, allocations: 150.3 kB / 0.6887 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1882, allocations: 354.8 kB / 0.689 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.1888, allocations: 337.1 kB / 0.6893 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.1895, allocations: 401.5 kB / 0.6897 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.1904, allocations: 0.5646 MB / 0.6903 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.1904, allocations: 0 / 0.6903 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001796/0.1922, allocations: 0.9288 MB / 0.6912 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.1923, allocations: 33.7 kB / 0.6912 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1923, allocations: 3.984 kB / 0.6912 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.1926, allocations: 28.84 kB / 0.6912 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.1934, allocations: 151.8 kB / 0.6914 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.1947, allocations: 1.422 MB / 0.6928 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.1964, allocations: 115.4 kB / 0.6929 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.1965, allocations: 31.92 kB / 0.6929 GB, free: 8.23 MB / 0.5294 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.0002545/0.1968, allocations: 181.7 kB / 0.6931 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1969, allocations: 31.77 kB / 0.6931 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.197, allocations: 39.47 kB / 0.6932 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.197, allocations: 3.938 kB / 0.6932 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.197, allocations: 4 kB / 0.6932 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.197, allocations: 3.984 kB / 0.6932 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.1975, allocations: 460.9 kB / 0.6936 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1975, allocations: 4 kB / 0.6936 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.1978, allocations: 51.91 kB / 0.6937 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.1979, allocations: 28.89 kB / 0.6937 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.198, allocations: 15.97 kB / 0.6937 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.199, allocations: 1.418 MB / 0.6951 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1991, allocations: 0 / 0.6951 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.1999, allocations: 0.5957 MB / 0.6957 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.2001, allocations: 120.8 kB / 0.6958 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.2001, allocations: 8 kB / 0.6958 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.2009, allocations: 27.91 kB / 0.6958 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.2009, allocations: 24 kB / 0.6958 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.201, allocations: 4 kB / 0.6958 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000269/0.2012, allocations: 259.2 kB / 0.6961 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2012, allocations: 4 kB / 0.6961 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006893/0.2019, allocations: 239.9 kB / 0.6963 GB, free: 4.492 MB / 0.5294 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.001149/0.2031, allocations: 1.15 MB / 0.6974 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.2044, allocations: 0.74 MB / 0.6982 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2044, allocations: 0 / 0.6982 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.2048, allocations: 261.4 kB / 0.6984 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.2054, allocations: 93.75 kB / 0.6985 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.2126, allocations: 5.495 MB / 0.7039 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.213, allocations: 0.8155 MB / 0.7047 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003017/0.2133, allocations: 111.2 kB / 0.7048 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.2136, allocations: 127.4 kB / 0.7049 GB, free: 11.53 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2136, allocations: 3.938 kB / 0.7049 GB, free: 11.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.2526, allocations: 12.16 MB / 0.7168 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.64, allocations: 12.52 kB / 0.7168 GB, free: 15.66 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)