Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001056/0.001056, 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.001064/0.001064, allocations: 195.8 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9176/0.9176, allocations: 143 MB / 433.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.5143 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 82.04 MB / 0.5945 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002257/0.1445, allocations: 1.364 MB / 0.5958 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1471, allocations: 1.786 MB / 0.5975 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.1472, allocations: 0 / 0.5975 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.524e-05/0.1473, allocations: 7.922 kB / 0.5975 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1475, allocations: 35.83 kB / 0.5976 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1498, allocations: 1.138 MB / 0.5987 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1499, allocations: 59.7 kB / 0.5988 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.15, allocations: 4 kB / 0.5988 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.15, allocations: 23.86 kB / 0.5988 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.1501, allocations: 31.89 kB / 0.5988 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1501, allocations: 0 / 0.5988 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1512, allocations: 0.8462 MB / 0.5996 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1513, allocations: 67.8 kB / 0.5997 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.1514, allocations: 75.36 kB / 0.5998 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.1522, allocations: 0.8693 MB / 0.6006 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1523, allocations: 0 / 0.6006 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1523, allocations: 0 / 0.6006 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1523, allocations: 4 kB / 0.6006 GB, free: 3.082 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.0005972/0.1529, allocations: 0.5839 MB / 0.6012 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1529, allocations: 8.031 kB / 0.6012 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.153, allocations: 38.75 kB / 0.6012 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.153, allocations: 28.64 kB / 0.6013 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1532, allocations: 226.7 kB / 0.6015 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1532, allocations: 8.25 kB / 0.6015 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.1532, allocations: 384 / 0.6015 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1534, allocations: 113.5 kB / 0.6016 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1534, allocations: 0 / 0.6016 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1534, allocations: 3.984 kB / 0.6016 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1534, allocations: 0 / 0.6016 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.1535, allocations: 75.97 kB / 0.6017 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.1537, allocations: 273.9 kB / 0.6019 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1539, allocations: 126.5 kB / 0.6021 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.1539, allocations: 108.9 kB / 0.6022 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.154, allocations: 3.938 kB / 0.6022 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.154, allocations: 30.56 kB / 0.6022 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.052e-06/0.154, allocations: 7.938 kB / 0.6022 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003617/0.1544, allocations: 338.5 kB / 0.6025 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1544, allocations: 51.41 kB / 0.6026 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1547, allocations: 257 kB / 0.6028 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1547, allocations: 25.7 kB / 0.6028 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.1548, allocations: 132.7 kB / 0.603 GB, free: 480 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.1548, allocations: 94.47 kB / 0.6031 GB, free: 384 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1549, allocations: 25.7 kB / 0.6031 GB, free: 352 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.155, allocations: 342.8 kB / 0.6034 GB, free: 0 / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2523/0.4073, allocations: 70.17 kB / 0.6035 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.4075, allocations: 78.47 kB / 0.6036 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4077, allocations: 205.4 kB / 0.6037 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4077, allocations: 0 / 0.6037 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002494/0.4079, allocations: 224.9 kB / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.408, allocations: 5.141 kB / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.408, allocations: 2.688 kB / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.408, allocations: 0 / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.408, allocations: 0 / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.408, allocations: 7.531 kB / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.4081, allocations: 12.31 kB / 0.604 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4081, allocations: 1.281 kB / 0.604 GB, free: 43.82 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 (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.0001219/0.4082, allocations: 160.8 kB / 0.6041 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4083, allocations: 26.09 kB / 0.6042 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.4085, allocations: 254.8 kB / 0.6044 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4085, allocations: 3.547 kB / 0.6044 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4086, allocations: 0.6562 kB / 0.6044 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4086, allocations: 0 / 0.6044 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.4087, allocations: 283.9 kB / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4088, allocations: 2.875 kB / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.4088, allocations: 0.5 kB / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4088, allocations: 2.188 kB / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4088, allocations: 1.312 kB / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4088, allocations: 2.812 kB / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4088, allocations: 0 / 0.6047 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.409, allocations: 270.1 kB / 0.605 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.409, allocations: 102.3 kB / 0.6051 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.4091, allocations: 0.5 kB / 0.6051 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.4091, allocations: 4.375 kB / 0.6051 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.4091, allocations: 6.156 kB / 0.6051 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4091, allocations: 0.6562 kB / 0.6051 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000127/0.4093, allocations: 189 kB / 0.6052 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4093, allocations: 0 / 0.6052 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006178/0.4099, allocations: 212.9 kB / 0.6054 GB, free: 43.16 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 (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.0008928/0.4108, allocations: 1.027 MB / 0.6064 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.411, allocations: 264.8 kB / 0.6067 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.411, allocations: 0 / 0.6067 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4112, allocations: 181.6 kB / 0.6069 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.4114, allocations: 17.7 kB / 0.6069 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.4134, allocations: 2.553 MB / 0.6094 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.4136, allocations: 0.7703 MB / 0.6101 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.4136, allocations: 7.203 kB / 0.6101 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.4137, allocations: 56.81 kB / 0.6102 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4137, allocations: 0 / 0.6102 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.4392, allocations: 7.692 MB / 0.6177 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.838, allocations: 8.312 kB / 0.6177 GB, free: 39.83 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)