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.001829/0.001829, 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.002015/0.002016, allocations: 192 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.58/1.58, allocations: 222.9 MB / 240.2 MB, free: 4.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002476/0.002476, allocations: 281.5 kB / 290.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 103.2 kB / 0.6066 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1592, allocations: 89.14 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.004196/0.1635, allocations: 2.223 MB / 0.6958 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.1669, allocations: 2.4 MB / 0.6981 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.167, allocations: 0 / 0.6981 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1684, allocations: 494.7 kB / 0.6986 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1686, allocations: 95.34 kB / 0.6987 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1689, allocations: 103.8 kB / 0.6988 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009211/0.1698, allocations: 0.8466 MB / 0.6996 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1699, allocations: 28.31 kB / 0.6996 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.1703, allocations: 279.5 kB / 0.6999 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.1708, allocations: 335.2 kB / 0.7002 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.1709, allocations: 52 kB / 0.7003 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.171, allocations: 56 kB / 0.7003 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.1713, allocations: 231.4 kB / 0.7006 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.1716, allocations: 282.9 kB / 0.7008 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.1723, allocations: 0.7283 MB / 0.7015 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1723, allocations: 0 / 0.7015 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1723, allocations: 0 / 0.7015 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.1723, allocations: 0 / 0.7015 GB, free: 12.07 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.002422/0.1748, allocations: 0.9291 MB / 0.7024 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1748, allocations: 12.03 kB / 0.7025 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.1749, allocations: 46.73 kB / 0.7025 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.175, allocations: 40.47 kB / 0.7025 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.1766, allocations: 0.5185 MB / 0.703 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.1766, allocations: 28.38 kB / 0.7031 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.1767, allocations: 36.38 kB / 0.7031 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1771, allocations: 202 kB / 0.7033 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1771, allocations: 7.984 kB / 0.7033 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1772, allocations: 11.94 kB / 0.7033 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1772, allocations: 4 kB / 0.7033 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.1775, allocations: 176.4 kB / 0.7035 GB, free: 9.973 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.004835/0.1823, allocations: 1.432 MB / 0.7049 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.1841, allocations: 0.5873 MB / 0.7055 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1844, allocations: 144.8 kB / 0.7056 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1844, allocations: 3.938 kB / 0.7056 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1845, allocations: 34.56 kB / 0.7056 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 2.305e-06/0.1845, allocations: 0 / 0.7056 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.00113/0.1856, allocations: 0.5421 MB / 0.7062 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1857, allocations: 59.34 kB / 0.7062 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.1861, allocations: 405.3 kB / 0.7066 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.1862, allocations: 37.7 kB / 0.7066 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1863, allocations: 165.1 kB / 0.7068 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1865, allocations: 94.66 kB / 0.7069 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.1867, allocations: 150.3 kB / 0.707 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1869, allocations: 350.8 kB / 0.7074 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.1875, allocations: 337.1 kB / 0.7077 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.1882, allocations: 401.5 kB / 0.7081 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/0.1892, allocations: 0.5646 MB / 0.7086 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1892, allocations: 11.94 kB / 0.7086 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001628/0.1908, allocations: 0.9131 MB / 0.7095 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.1909, allocations: 33.7 kB / 0.7096 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1909, allocations: 0 / 0.7096 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.1911, allocations: 32.83 kB / 0.7096 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.1919, allocations: 151.8 kB / 0.7097 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.1933, allocations: 1.426 MB / 0.7111 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.195, allocations: 115.2 kB / 0.7112 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.195, allocations: 23.98 kB / 0.7113 GB, free: 1.664 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.0002218/0.1953, allocations: 185.7 kB / 0.7114 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.1953, allocations: 31.53 kB / 0.7115 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.1954, allocations: 35.48 kB / 0.7115 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1954, allocations: 7.938 kB / 0.7115 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1954, allocations: 0 / 0.7115 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1954, allocations: 3.984 kB / 0.7115 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.196, allocations: 461.1 kB / 0.712 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.196, allocations: 0 / 0.712 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.1963, allocations: 47.91 kB / 0.712 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.1964, allocations: 32.83 kB / 0.712 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.1964, allocations: 8 kB / 0.712 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.1976, allocations: 1.422 MB / 0.7134 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1977, allocations: 160 / 0.7134 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.1986, allocations: 0.6075 MB / 0.714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1987, allocations: 112.7 kB / 0.7141 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.1987, allocations: 11.98 kB / 0.7141 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.1995, allocations: 31.88 kB / 0.7142 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.1995, allocations: 24 kB / 0.7142 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1996, allocations: 4 kB / 0.7142 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002785/0.1998, allocations: 259.2 kB / 0.7144 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1999, allocations: 0 / 0.7144 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006577/0.2005, allocations: 240.1 kB / 0.7147 GB, free: 13.93 MB / 0.5137 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.001279/0.2018, allocations: 1.16 MB / 0.7158 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.2031, allocations: 0.7711 MB / 0.7166 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2031, allocations: 4 kB / 0.7166 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.2034, allocations: 270.2 kB / 0.7168 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.204, allocations: 93.42 kB / 0.7169 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008191/0.2122, allocations: 5.516 MB / 0.7223 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.2128, allocations: 0.8077 MB / 0.7231 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003305/0.2131, allocations: 111.2 kB / 0.7232 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.2134, allocations: 129.6 kB / 0.7233 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.2134, allocations: 0 / 0.7233 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/0.2668, allocations: 12.04 MB / 0.7351 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.37, allocations: 8.188 kB / 0.7351 GB, free: 9.133 MB / 0.5294 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)