Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00167/0.00167, 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.001565/0.001565, allocations: 193.6 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5449, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002142/0.5471, allocations: 1.377 MB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.5495, allocations: 1.798 MB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.5495, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.99e-05/0.5496, allocations: 11.92 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.5497, allocations: 27.84 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.5521, allocations: 1.136 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.5521, allocations: 51.77 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.5522, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.5522, allocations: 23.92 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.5523, allocations: 19.86 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.5523, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.5533, allocations: 0.854 MB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.5534, allocations: 27.91 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.5534, allocations: 19.81 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/0.5542, allocations: 0.8052 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.5543, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5543, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5543, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 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.0005245/0.5548, allocations: 478.9 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.5548, allocations: 8.031 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.5549, allocations: 42.73 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.5549, allocations: 12.75 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.5551, allocations: 173.7 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.5551, allocations: 12.11 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.5551, allocations: 11.88 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.5552, allocations: 53.69 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5552, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.5552, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.5552, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.5553, allocations: 20 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.5554, allocations: 197.5 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.5555, allocations: 46.5 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.5555, allocations: 40.77 kB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.5556, allocations: 0 / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.5556, allocations: 38.56 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.5556, allocations: 0 / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000183/0.5558, allocations: 117.6 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.5558, allocations: 51.41 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.5559, allocations: 153.8 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.556, allocations: 25.7 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.556, allocations: 96.14 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.556, allocations: 27.64 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.5561, allocations: 17.75 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.5562, allocations: 330.8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.5562, allocations: 27.92 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.5562, allocations: 23.98 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.636e-05/0.5563, allocations: 65.14 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5563, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001016/0.5564, allocations: 97.62 kB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5564, allocations: 4 kB / 1.026 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5565, allocations: 4 kB / 1.026 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.5565, allocations: 4.062 kB / 1.026 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.5565, allocations: 3.984 kB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5565, allocations: 0 / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.5565, allocations: 0 / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5565, allocations: 4 kB / 1.026 GB, free: 9.922 MB / 0.7794 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 7.707e-05/0.5566, allocations: 129.7 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.5566, allocations: 11.89 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.5568, allocations: 106.3 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5568, allocations: 7.969 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5568, allocations: 0 / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.5568, allocations: 0 / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5569, allocations: 197.5 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5569, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5569, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5569, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.5569, allocations: 4 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.557, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.557, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.5571, allocations: 124.9 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.5571, allocations: 85.02 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.5571, allocations: 7.984 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.5572, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.5572, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.5572, allocations: 7.938 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.5573, allocations: 123.2 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5573, allocations: 0 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004397/0.5577, allocations: 203.8 kB / 1.027 GB, free: 8.832 MB / 0.7794 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.0008819/0.5586, allocations: 0.8816 MB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.5588, allocations: 97.67 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5588, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.5588, allocations: 69.69 kB / 1.028 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.559, allocations: 20.69 kB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.5604, allocations: 1.594 MB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.5606, allocations: 0.7079 MB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.5606, allocations: 0 / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.5607, allocations: 27.42 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5607, allocations: 0 / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.084/1.645, allocations: 5.941 MB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/9.453, allocations: 10.31 kB / 1.036 GB, free: 15.54 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)