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.001123/0.001123, allocations: 104 kB / 15.61 MB, free: 148 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.001189/0.001189, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 279.2 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 0.9209/0.9209, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 95.83 kB / 0.5954 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1772, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002479/0.1797, allocations: 1.34 MB / 0.6817 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1813, allocations: 1.092 MB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.1813, allocations: 0 / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.1814, allocations: 1 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.1814, allocations: 7.922 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.182, allocations: 224.2 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.1821, allocations: 31.86 kB / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.1821, allocations: 4 kB / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.1822, allocations: 11.88 kB / 0.683 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.1823, allocations: 23.91 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1823, allocations: 0 / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.1829, allocations: 419.5 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1829, allocations: 11.97 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.1829, allocations: 15.88 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.1832, allocations: 195.7 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1832, allocations: 0 / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1832, allocations: 3.984 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1832, allocations: 0 / 0.6836 GB, free: 13.19 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.0004898/0.1837, allocations: 383.3 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1838, allocations: 8.031 kB / 0.684 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.1838, allocations: 38.69 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.1839, allocations: 4.844 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.184, allocations: 168.4 kB / 0.6842 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.184, allocations: 384 / 0.6842 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.184, allocations: 384 / 0.6842 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1841, allocations: 45.81 kB / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1841, allocations: 0 / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1841, allocations: 0 / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1841, allocations: 0 / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.1842, allocations: 15.98 kB / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1844, allocations: 157.7 kB / 0.6844 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.1845, allocations: 46.55 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.1845, allocations: 16.89 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009238/0.1855, allocations: 0.9856 MB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1855, allocations: 38.48 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1855, allocations: 0 / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001755/0.1857, allocations: 61.53 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.1857, allocations: 59.34 kB / 0.6856 GB, free: 10.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.1858, allocations: 105.8 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1858, allocations: 29.69 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.1858, allocations: 88.14 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1859, allocations: 15.75 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1859, allocations: 13.72 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.186, allocations: 318.8 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.186, allocations: 4 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.1861, allocations: 8 kB / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.1861, allocations: 21.14 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1861, allocations: 0 / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.056e-05/0.1862, allocations: 65.55 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1862, allocations: 6.031 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1862, allocations: 4 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1863, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1864, allocations: 19.98 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1864, allocations: 0 / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.1864, allocations: 0 / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1864, allocations: 0 / 0.6863 GB, free: 10.05 MB / 494.1 MB 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 6.682e-05/0.1865, allocations: 110.5 kB / 0.6864 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1865, allocations: 11.84 kB / 0.6864 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.1867, allocations: 69.52 kB / 0.6864 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1867, allocations: 0 / 0.6864 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1867, allocations: 4 kB / 0.6864 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1867, allocations: 0 / 0.6864 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1868, allocations: 153.7 kB / 0.6866 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1868, allocations: 4 kB / 0.6866 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.1869, allocations: 15.92 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1869, allocations: 4 kB / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1869, allocations: 0 / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1869, allocations: 4 kB / 0.6866 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1869, allocations: 0 / 0.6866 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.817e-05/0.187, allocations: 73.12 kB / 0.6867 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1871, allocations: 88.95 kB / 0.6868 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1871, allocations: 0 / 0.6868 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.637e-05/0.1871, allocations: 0 / 0.6868 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1872, allocations: 11.86 kB / 0.6868 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1872, allocations: 4 kB / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.929e-05/0.1872, allocations: 87.28 kB / 0.6869 GB, free: 9.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1872, allocations: 0 / 0.6869 GB, free: 9.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1875, allocations: 43.92 kB / 0.6869 GB, free: 9.27 MB / 494.1 MB 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.0005053/0.188, allocations: 0.6592 MB / 0.6876 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1881, allocations: 31.92 kB / 0.6876 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1881, allocations: 0 / 0.6876 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.1881, allocations: 12 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.1884, allocations: 4.547 kB / 0.6876 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.1889, allocations: 217.8 kB / 0.6878 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1891, allocations: 0.6807 MB / 0.6885 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.1892, allocations: 14.09 kB / 0.6885 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1892, allocations: 7.438 kB / 0.6885 GB, free: 7.555 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1892, allocations: 0 / 0.6885 GB, free: 7.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.2089, allocations: 2.19 MB / 0.6906 GB, free: 5.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.463, allocations: 7.5 kB / 0.6906 GB, free: 5.57 MB / 494.1 MB (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)