Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.008828/0.008828, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001967/0.001967, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 294.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.16/1.16, allocations: 178.5 MB / 0.5074 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 99.83 kB / 0.6944 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3923, allocations: 89.12 MB / 0.7814 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002061/0.3944, allocations: 1.375 MB / 0.7828 GB, free: 112 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3971, allocations: 1.785 MB / 0.7845 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.3972, allocations: 9.375 kB / 0.7845 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.354e-05/0.3973, allocations: 3.984 kB / 0.7845 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3974, allocations: 31.45 kB / 0.7845 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.4, allocations: 1.146 MB / 0.7857 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.4001, allocations: 54.86 kB / 0.7857 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.4001, allocations: 10.02 kB / 0.7857 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.4002, allocations: 22.8 kB / 0.7857 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.4003, allocations: 19.2 kB / 0.7858 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.4003, allocations: 1.531 kB / 0.7858 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.4015, allocations: 0.8905 MB / 0.7866 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.4016, allocations: 30.28 kB / 0.7867 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.4017, allocations: 21.03 kB / 0.7867 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009922/0.4027, allocations: 0.7994 MB / 0.7875 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4027, allocations: 1.438 kB / 0.7875 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4027, allocations: 4 kB / 0.7875 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4027, allocations: 0 / 0.7875 GB, free: 12.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005943/0.4033, allocations: 495.2 kB / 0.7879 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4033, allocations: 9.938 kB / 0.7879 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.4034, allocations: 35.73 kB / 0.788 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.4034, allocations: 9.328 kB / 0.788 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4036, allocations: 197.1 kB / 0.7882 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.4036, allocations: 4.125 kB / 0.7882 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.4036, allocations: 1.219 kB / 0.7882 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.4038, allocations: 56.47 kB / 0.7882 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4038, allocations: 0.9688 kB / 0.7882 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.4038, allocations: 3.938 kB / 0.7882 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4038, allocations: 0 / 0.7882 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.4038, allocations: 22.86 kB / 0.7883 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.404, allocations: 188.1 kB / 0.7884 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.4041, allocations: 54.56 kB / 0.7885 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.4042, allocations: 37.41 kB / 0.7885 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4042, allocations: 4 kB / 0.7885 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4042, allocations: 31.84 kB / 0.7886 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/0.4042, allocations: 0 / 0.7886 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002103/0.4044, allocations: 129.3 kB / 0.7887 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.4045, allocations: 52.66 kB / 0.7887 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4046, allocations: 152.9 kB / 0.7889 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4046, allocations: 25.7 kB / 0.7889 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.4047, allocations: 96.45 kB / 0.789 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.4047, allocations: 31.06 kB / 0.789 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.4048, allocations: 15.19 kB / 0.789 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4049, allocations: 326 kB / 0.7894 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.405, allocations: 26.39 kB / 0.7894 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.405, allocations: 18.31 kB / 0.7894 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.4051, allocations: 65.86 kB / 0.7895 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4051, allocations: 0 / 0.7895 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.4052, allocations: 100.8 kB / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.4052, allocations: 9.781 kB / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4052, allocations: 1.219 kB / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4053, allocations: 0 / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.4053, allocations: 1.125 kB / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.4053, allocations: 0 / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.4053, allocations: 1.062 kB / 0.7896 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4053, allocations: 1.156 kB / 0.7896 GB, free: 10.88 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001004/0.4054, allocations: 130.1 kB / 0.7897 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.4054, allocations: 7.422 kB / 0.7897 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.4056, allocations: 115.4 kB / 0.7898 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4056, allocations: 1.344 kB / 0.7898 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4056, allocations: 0 / 0.7898 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4056, allocations: 0 / 0.7898 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.4058, allocations: 201.1 kB / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4058, allocations: 1.125 kB / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4058, allocations: 3.938 kB / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4058, allocations: 1.188 kB / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.4058, allocations: 1.125 kB / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4058, allocations: 0 / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4058, allocations: 0 / 0.79 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.406, allocations: 125.8 kB / 0.7901 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.406, allocations: 87.64 kB / 0.7902 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.406, allocations: 5.25 kB / 0.7902 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.4061, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4061, allocations: 1.031 kB / 0.7902 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4061, allocations: 1.469 kB / 0.7902 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.856e-05/0.4062, allocations: 125.9 kB / 0.7903 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4062, allocations: 4.031 kB / 0.7903 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005325/0.4067, allocations: 208.3 kB / 0.7905 GB, free: 10.11 MB / 0.5606 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001002/0.4077, allocations: 0.8813 MB / 0.7914 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.4079, allocations: 97.17 kB / 0.7915 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4079, allocations: 0 / 0.7915 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.408, allocations: 67.81 kB / 0.7916 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.4082, allocations: 19.84 kB / 0.7916 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4097, allocations: 1.609 MB / 0.7932 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.41, allocations: 0.7062 MB / 0.7938 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.41, allocations: 1.094 kB / 0.7938 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.41, allocations: 21.56 kB / 0.7939 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.4101, allocations: 3.938 kB / 0.7939 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4367, allocations: 5.993 MB / 0.7997 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.296, allocations: 11.58 kB / 0.7997 GB, free: 4.191 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)