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_TwoUTube.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_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.00703/0.007031, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001831/0.001831, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 287.2 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 99.84 kB / 0.6944 GB, free: 3.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4309, allocations: 89.13 MB / 0.7814 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002476/0.4335, allocations: 1.377 MB / 0.7828 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.4364, allocations: 1.801 MB / 0.7845 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.4365, allocations: 1.406 kB / 0.7845 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.14e-05/0.4366, allocations: 5.422 kB / 0.7845 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.4368, allocations: 33.92 kB / 0.7846 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.4397, allocations: 1.154 MB / 0.7857 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4399, allocations: 50.8 kB / 0.7857 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.4399, allocations: 2.922 kB / 0.7857 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.44, allocations: 29.52 kB / 0.7858 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.4401, allocations: 28.12 kB / 0.7858 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.4401, allocations: 1.75 kB / 0.7858 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.4417, allocations: 0.8852 MB / 0.7867 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.4418, allocations: 66 kB / 0.7867 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.4419, allocations: 73.25 kB / 0.7868 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.4432, allocations: 0.8825 MB / 0.7876 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4432, allocations: 0 / 0.7876 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4432, allocations: 0 / 0.7876 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4432, allocations: 1.438 kB / 0.7876 GB, free: 10.36 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.0007694/0.444, allocations: 0.595 MB / 0.7882 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.444, allocations: 10.44 kB / 0.7882 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.4441, allocations: 47.08 kB / 0.7883 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.4441, allocations: 29.69 kB / 0.7883 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4444, allocations: 225.3 kB / 0.7885 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.4444, allocations: 384 / 0.7885 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.4444, allocations: 5.828 kB / 0.7885 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4446, allocations: 106.2 kB / 0.7886 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4446, allocations: 1.594 kB / 0.7886 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.4446, allocations: 0 / 0.7886 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4446, allocations: 0.5938 kB / 0.7886 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4447, allocations: 74.59 kB / 0.7887 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.4451, allocations: 278.2 kB / 0.789 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.4453, allocations: 122.4 kB / 0.7891 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4454, allocations: 113.2 kB / 0.7892 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4454, allocations: 5 kB / 0.7892 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4455, allocations: 32.36 kB / 0.7892 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.012e-06/0.4455, allocations: 0 / 0.7892 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0004182/0.4459, allocations: 341.9 kB / 0.7896 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4459, allocations: 56.05 kB / 0.7896 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4462, allocations: 261.4 kB / 0.7899 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4462, allocations: 25.7 kB / 0.7899 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.4463, allocations: 124.5 kB / 0.79 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.4464, allocations: 105.8 kB / 0.7901 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.4465, allocations: 27.66 kB / 0.7901 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4466, allocations: 342.8 kB / 0.7905 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.4467, allocations: 76.61 kB / 0.7905 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.4468, allocations: 79.12 kB / 0.7906 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.447, allocations: 197.7 kB / 0.7908 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.447, allocations: 1.375 kB / 0.7908 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002491/0.4473, allocations: 228.2 kB / 0.791 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4473, allocations: 7.219 kB / 0.791 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.4473, allocations: 1.953 kB / 0.791 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4473, allocations: 1.094 kB / 0.791 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.4474, allocations: 0 / 0.791 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4474, allocations: 0.7969 kB / 0.791 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.4474, allocations: 15.11 kB / 0.791 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4474, allocations: 4.062 kB / 0.791 GB, free: 8.004 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.0001387/0.4476, allocations: 163.8 kB / 0.7912 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.4476, allocations: 28.97 kB / 0.7912 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.4479, allocations: 252.9 kB / 0.7915 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4479, allocations: 1.312 kB / 0.7915 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.448, allocations: 0 / 0.7915 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.448, allocations: 0.7031 kB / 0.7915 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4482, allocations: 282.3 kB / 0.7917 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4482, allocations: 6.406 kB / 0.7917 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.4482, allocations: 4.031 kB / 0.7917 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4482, allocations: 0 / 0.7917 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4483, allocations: 2.094 kB / 0.7918 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4483, allocations: 0 / 0.7918 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4483, allocations: 1.188 kB / 0.7918 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4486, allocations: 268 kB / 0.792 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.4486, allocations: 105.2 kB / 0.7921 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.4487, allocations: 1.344 kB / 0.7921 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.4487, allocations: 4.031 kB / 0.7921 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.4487, allocations: 2.016 kB / 0.7921 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.4487, allocations: 1.344 kB / 0.7921 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001858/0.4489, allocations: 189.1 kB / 0.7923 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4489, allocations: 0 / 0.7923 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008204/0.4497, allocations: 211.1 kB / 0.7925 GB, free: 7.145 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.001387/0.4511, allocations: 1.046 MB / 0.7935 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.4515, allocations: 267.8 kB / 0.7938 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4515, allocations: 0 / 0.7938 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4516, allocations: 178.8 kB / 0.7939 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4519, allocations: 13.42 kB / 0.794 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.4547, allocations: 2.574 MB / 0.7965 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.4552, allocations: 0.7711 MB / 0.7972 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.4552, allocations: 7.312 kB / 0.7972 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.4553, allocations: 64.58 kB / 0.7973 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.4553, allocations: 0 / 0.7973 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.4872, allocations: 7.731 MB / 0.8048 GB, free: 392 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.655, allocations: 18.86 kB / 0.8049 GB, free: 384 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)