Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001305/0.001305, 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.001361/0.001361, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 270.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5073 GB, free: 4.605 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00297/0.002971, allocations: 103.1 kB / 0.6066 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1932, allocations: 89.14 MB / 0.6937 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003018/0.1962, allocations: 1.355 MB / 0.695 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1981, allocations: 1.094 MB / 0.696 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.1982, allocations: 4 kB / 0.6961 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.1983, allocations: 0 / 0.6961 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.1983, allocations: 7.875 kB / 0.6961 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.1991, allocations: 214.3 kB / 0.6963 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.1992, allocations: 33.33 kB / 0.6963 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.1993, allocations: 3.938 kB / 0.6963 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.1994, allocations: 23.91 kB / 0.6963 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.1994, allocations: 15.92 kB / 0.6963 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1995, allocations: 8 kB / 0.6963 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.2002, allocations: 423.5 kB / 0.6967 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2002, allocations: 0 / 0.6967 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.2003, allocations: 19.86 kB / 0.6968 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.2007, allocations: 191.7 kB / 0.6969 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2007, allocations: 0 / 0.6969 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2007, allocations: 0 / 0.6969 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2007, allocations: 0 / 0.6969 GB, free: 0.8203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005518/0.2012, allocations: 391.3 kB / 0.6973 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2013, allocations: 8.031 kB / 0.6973 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.2013, allocations: 34.75 kB / 0.6974 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.2014, allocations: 12.78 kB / 0.6974 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2015, allocations: 164.4 kB / 0.6975 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2016, allocations: 4.375 kB / 0.6975 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2016, allocations: 384 / 0.6975 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.2017, allocations: 45.81 kB / 0.6976 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2017, allocations: 0 / 0.6976 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2017, allocations: 0 / 0.6976 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2017, allocations: 0 / 0.6976 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.2018, allocations: 15.94 kB / 0.6976 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.202, allocations: 169.6 kB / 0.6978 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.2021, allocations: 34.58 kB / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.2022, allocations: 16.92 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.2033, allocations: 0.9856 MB / 0.6988 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.2034, allocations: 38.5 kB / 0.6988 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 3.006e-06/0.2034, allocations: 0 / 0.6988 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.2036, allocations: 61.75 kB / 0.6989 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2036, allocations: 55.41 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.2037, allocations: 105.8 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2037, allocations: 25.7 kB / 0.699 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.2038, allocations: 88.14 kB / 0.6991 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.2038, allocations: 11.75 kB / 0.6991 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.2039, allocations: 21.7 kB / 0.6992 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.204, allocations: 310.8 kB / 0.6995 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.2041, allocations: 8 kB / 0.6995 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.2041, allocations: 15.97 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.2042, allocations: 20.86 kB / 0.6995 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2042, allocations: 0 / 0.6995 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001101/0.2043, allocations: 57.56 kB / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2043, allocations: 4 kB / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2043, allocations: 0 / 0.6996 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.2044, allocations: 4 kB / 0.6996 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2045, allocations: 12 kB / 0.6996 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2045, allocations: 0 / 0.6996 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.2045, allocations: 8 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2046, allocations: 4 kB / 0.6996 GB, free: 13.67 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.2047, allocations: 110.5 kB / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.2047, allocations: 11.84 kB / 0.6997 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.2049, allocations: 61.53 kB / 0.6998 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2049, allocations: 0 / 0.6998 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2049, allocations: 0 / 0.6998 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2049, allocations: 0 / 0.6998 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2051, allocations: 165.6 kB / 0.6999 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2052, allocations: 7.938 kB / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.2053, allocations: 15.94 kB / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2053, allocations: 0 / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2053, allocations: 0 / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2053, allocations: 4 kB / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2053, allocations: 0 / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.2055, allocations: 81.05 kB / 0.7 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.2055, allocations: 84.95 kB / 0.7001 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.2056, allocations: 4 kB / 0.7001 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.2056, allocations: 7.938 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2056, allocations: 4 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2056, allocations: 0 / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.841e-05/0.2057, allocations: 87.58 kB / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2057, allocations: 0 / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002831/0.206, allocations: 43.94 kB / 0.7002 GB, free: 12.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007398/0.2067, allocations: 0.6593 MB / 0.7009 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.2069, allocations: 28.2 kB / 0.7009 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.2069, allocations: 0 / 0.7009 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.207, allocations: 12 kB / 0.7009 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.2073, allocations: 9.156 kB / 0.7009 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.208, allocations: 201.8 kB / 0.7011 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.2084, allocations: 0.6806 MB / 0.7018 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.2085, allocations: 4.703 kB / 0.7018 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.2085, allocations: 19.42 kB / 0.7018 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2085, allocations: 0 / 0.7018 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.236, allocations: 2.18 MB / 0.7039 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.186, allocations: 11.34 kB / 0.704 GB, free: 9.207 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)