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.004868/0.004869, allocations: 100.9 kB / 15.73 MB, free: 6 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.001269/0.001269, allocations: 189.5 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002374/0.002374, allocations: 289.7 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 95.64 kB / 0.6943 GB, free: 3.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4503, allocations: 89.14 MB / 0.7814 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003351/0.4536, allocations: 2.233 MB / 0.7835 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.4568, allocations: 2.387 MB / 0.7859 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.4569, allocations: 3.438 kB / 0.7859 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.4582, allocations: 492.6 kB / 0.7863 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.4584, allocations: 96.39 kB / 0.7864 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.4587, allocations: 99.98 kB / 0.7865 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009344/0.4596, allocations: 0.8489 MB / 0.7874 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.4598, allocations: 43.02 kB / 0.7874 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.4601, allocations: 274 kB / 0.7877 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.4607, allocations: 339.2 kB / 0.788 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.4608, allocations: 54.69 kB / 0.788 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.4609, allocations: 55.66 kB / 0.7881 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.4612, allocations: 226.5 kB / 0.7883 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.4615, allocations: 286 kB / 0.7886 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009667/0.4625, allocations: 0.7249 MB / 0.7893 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4625, allocations: 0.5 kB / 0.7893 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4625, allocations: 0 / 0.7893 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.4625, allocations: 0.5625 kB / 0.7893 GB, free: 9.203 MB / 0.5606 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.002447/0.465, allocations: 0.9481 MB / 0.7902 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.465, allocations: 15.16 kB / 0.7902 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.4651, allocations: 46.17 kB / 0.7903 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.4652, allocations: 46.47 kB / 0.7903 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.4667, allocations: 0.517 MB / 0.7908 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4667, allocations: 25.38 kB / 0.7908 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.4668, allocations: 38.34 kB / 0.7909 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.4672, allocations: 204.4 kB / 0.7911 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4672, allocations: 3.938 kB / 0.7911 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4673, allocations: 9.703 kB / 0.7911 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4673, allocations: 3.219 kB / 0.7911 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.4676, allocations: 177.4 kB / 0.7913 GB, free: 8.066 MB / 0.5606 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.004491/0.4721, allocations: 1.427 MB / 0.7927 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.4738, allocations: 0.5937 MB / 0.7932 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.474, allocations: 138.9 kB / 0.7934 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.474, allocations: 3.312 kB / 0.7934 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4741, allocations: 40.25 kB / 0.7934 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.4741, allocations: 0 / 0.7934 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001046/0.4751, allocations: 0.5496 MB / 0.7939 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4752, allocations: 54.94 kB / 0.794 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.4756, allocations: 398.4 kB / 0.7944 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.4756, allocations: 42.11 kB / 0.7944 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.4758, allocations: 171 kB / 0.7946 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.476, allocations: 99.06 kB / 0.7947 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4762, allocations: 151 kB / 0.7948 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4764, allocations: 349.3 kB / 0.7952 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.4769, allocations: 336.1 kB / 0.7955 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.4776, allocations: 408.5 kB / 0.7959 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.4784, allocations: 0.5729 MB / 0.7964 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4784, allocations: 1.281 kB / 0.7964 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001504/0.48, allocations: 0.9183 MB / 0.7973 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.48, allocations: 34.92 kB / 0.7974 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.48, allocations: 1.094 kB / 0.7974 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.4802, allocations: 27.62 kB / 0.7974 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.481, allocations: 157.8 kB / 0.7975 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.4821, allocations: 1.421 MB / 0.7989 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.4838, allocations: 109.1 kB / 0.799 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.4838, allocations: 22.86 kB / 0.799 GB, free: 2.812 MB / 0.5606 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.0002125/0.4841, allocations: 179.6 kB / 0.7992 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.4841, allocations: 36.34 kB / 0.7992 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.913e-05/0.4842, allocations: 37.2 kB / 0.7993 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4842, allocations: 6.469 kB / 0.7993 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4842, allocations: 1.562 kB / 0.7993 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4842, allocations: 7.984 kB / 0.7993 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.4847, allocations: 466 kB / 0.7997 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4848, allocations: 3.984 kB / 0.7997 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.485, allocations: 46.66 kB / 0.7998 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.473e-05/0.4851, allocations: 29.31 kB / 0.7998 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4852, allocations: 16.39 kB / 0.7998 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.4862, allocations: 1.42 MB / 0.8012 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4862, allocations: 0 / 0.8012 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.487, allocations: 0.5957 MB / 0.8018 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4872, allocations: 117.5 kB / 0.8019 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.4872, allocations: 12.3 kB / 0.8019 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.4879, allocations: 30.2 kB / 0.802 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.488, allocations: 19.06 kB / 0.802 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.488, allocations: 9.375 kB / 0.802 GB, free: 116 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002708/0.4883, allocations: 259.2 kB / 0.8022 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4883, allocations: 0 / 0.8022 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006038/0.4889, allocations: 237.9 kB / 0.8025 GB, free: 15.94 MB / 0.5762 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.001165/0.4901, allocations: 1.158 MB / 0.8036 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.4912, allocations: 0.7376 MB / 0.8043 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4912, allocations: 4 kB / 0.8043 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.4915, allocations: 267.7 kB / 0.8046 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.4922, allocations: 92.91 kB / 0.8047 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/0.4991, allocations: 5.493 MB / 0.81 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.4995, allocations: 0.8124 MB / 0.8108 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.4998, allocations: 110.8 kB / 0.8109 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.5001, allocations: 125.7 kB / 0.811 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.5001, allocations: 0 / 0.811 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.5422, allocations: 12.14 MB / 0.8229 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.62, allocations: 14.81 kB / 0.8229 GB, free: 4.055 MB / 0.5762 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)