Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_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.007439/0.007439, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001714/0.001714, allocations: 195.4 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 71.88 kB / 0.9505 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9209/0.9224, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002485/0.9249, allocations: 1.377 MB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.9276, allocations: 1.782 MB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.9277, allocations: 4.688 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.9278, allocations: 16.66 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.928, allocations: 29.11 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.9309, allocations: 1.136 MB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.931, allocations: 52.83 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.9311, allocations: 7.141 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.9312, allocations: 17.98 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.9312, allocations: 34.91 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.9312, allocations: 1.562 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.9327, allocations: 0.8851 MB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.9328, allocations: 29.47 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.9329, allocations: 25.91 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.9342, allocations: 0.7979 MB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9342, allocations: 1.359 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9342, allocations: 0 / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9342, allocations: 0 / 1.094 GB, free: 1.875 MB / 0.8575 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.0005645/0.9348, allocations: 491.4 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9349, allocations: 9.969 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.9349, allocations: 36.92 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.9349, allocations: 8.828 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.9351, allocations: 189.5 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.9351, allocations: 4.125 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.9351, allocations: 0.6875 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.9352, allocations: 61.5 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.9352, allocations: 4 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.9352, allocations: 1.062 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9352, allocations: 0.5625 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.9353, allocations: 25.42 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.9355, allocations: 189 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.423e-05/0.9355, allocations: 54.14 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.9356, allocations: 31.34 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.9356, allocations: 5.516 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.9356, allocations: 36.28 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.9356, allocations: 0 / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002216/0.9359, allocations: 115.4 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.9359, allocations: 51.91 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.936, allocations: 157.3 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.936, allocations: 26.2 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.9361, allocations: 94.31 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.9361, allocations: 30.19 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.9362, allocations: 23.61 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.9362, allocations: 325.3 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.9363, allocations: 25.7 kB / 1.095 GB, free: 84 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.9363, allocations: 37.3 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.9364, allocations: 60.94 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9364, allocations: 1.125 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001224/0.9365, allocations: 95.39 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9366, allocations: 5.156 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9366, allocations: 5.469 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.9366, allocations: 0.7969 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.9366, allocations: 5.094 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.9366, allocations: 0 / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.9367, allocations: 1.125 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.9367, allocations: 1.703 kB / 1.096 GB, free: 0 / 0.8575 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.0001205/0.9368, allocations: 125.1 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.9368, allocations: 15.06 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.937, allocations: 101.7 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.937, allocations: 5.062 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.937, allocations: 0 / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9371, allocations: 1.797 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.9372, allocations: 194 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9372, allocations: 2.047 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.9372, allocations: 0 / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9372, allocations: 1.094 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.9373, allocations: 1.219 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9373, allocations: 0 / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9373, allocations: 0.75 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.9374, allocations: 133.7 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.9375, allocations: 89.7 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.9375, allocations: 0 / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.9376, allocations: 1.297 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.9376, allocations: 0.8125 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.9376, allocations: 1.734 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.931e-05/0.9377, allocations: 122.8 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.525e-06/0.9377, allocations: 0 / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008818/0.9386, allocations: 210.8 kB / 1.097 GB, free: 15.29 MB / 0.8731 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.001241/0.9398, allocations: 0.8765 MB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.94, allocations: 101 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9401, allocations: 1.344 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.9401, allocations: 68.45 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.9404, allocations: 18.48 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.9423, allocations: 1.617 MB / 1.099 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.9425, allocations: 0.7044 MB / 1.1 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.9426, allocations: 5.344 kB / 1.1 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.9426, allocations: 23.66 kB / 1.1 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.9426, allocations: 0 / 1.1 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.9718, allocations: 5.977 MB / 1.106 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.804, allocations: 18.27 kB / 1.106 GB, free: 11.86 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)