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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108.7 kB / 16.41 MB, free: 6.465 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.001055/0.001055, allocations: 192.1 kB / 17.34 MB, free: 5.719 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002261/0.002261, allocations: 292.5 kB / 291.5 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 0.9714/0.9714, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 103.8 kB / 0.6822 GB, free: 6.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4948, allocations: 86.97 MB / 0.7671 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002228/0.4971, allocations: 1.37 MB / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.4997, allocations: 1.796 MB / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.4998, allocations: 0 / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.621e-05/0.4999, allocations: 15.92 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.5, allocations: 35.81 kB / 0.7703 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.5025, allocations: 1.136 MB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.5026, allocations: 51.72 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.5027, allocations: 7.984 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.5028, allocations: 23.97 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.5028, allocations: 39.78 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.5029, allocations: 0 / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.504, allocations: 0.8852 MB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.5041, allocations: 63.81 kB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.5042, allocations: 71.36 kB / 0.7725 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009816/0.5052, allocations: 0.8751 MB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5052, allocations: 0 / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5052, allocations: 0 / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.5052, allocations: 4 kB / 0.7733 GB, free: 13.38 MB / 0.545 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.0006127/0.5058, allocations: 0.5839 MB / 0.7739 GB, free: 12.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5059, allocations: 12.03 kB / 0.7739 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.5059, allocations: 20.66 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.5061, allocations: 222.7 kB / 0.7742 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.5062, allocations: 384 / 0.7742 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5062, allocations: 384 / 0.7742 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.5063, allocations: 117.7 kB / 0.7743 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.5063, allocations: 0 / 0.7743 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5063, allocations: 4 kB / 0.7743 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5064, allocations: 0 / 0.7743 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.5064, allocations: 75.97 kB / 0.7743 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.5067, allocations: 281.8 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.5068, allocations: 122.5 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/0.5069, allocations: 108.9 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.507, allocations: 3.938 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.507, allocations: 38.56 kB / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.507, allocations: 0 / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0003949/0.5074, allocations: 339.6 kB / 0.7752 GB, free: 11.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.5074, allocations: 51.41 kB / 0.7752 GB, free: 11.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.5077, allocations: 253 kB / 0.7755 GB, free: 10.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5077, allocations: 29.69 kB / 0.7755 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.5078, allocations: 128.7 kB / 0.7756 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.5079, allocations: 106.3 kB / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.5079, allocations: 33.73 kB / 0.7758 GB, free: 10.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5081, allocations: 338.8 kB / 0.7761 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.5081, allocations: 75.97 kB / 0.7762 GB, free: 10.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.5082, allocations: 79.95 kB / 0.7762 GB, free: 10.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.5084, allocations: 192.8 kB / 0.7764 GB, free: 9.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5084, allocations: 0 / 0.7764 GB, free: 9.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002274/0.5086, allocations: 229.5 kB / 0.7766 GB, free: 9.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5086, allocations: 4 kB / 0.7766 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5087, allocations: 3.984 kB / 0.7767 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5087, allocations: 4.062 kB / 0.7767 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.5087, allocations: 0 / 0.7767 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5087, allocations: 4 kB / 0.7767 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.5088, allocations: 7.844 kB / 0.7767 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.5088, allocations: 0 / 0.7767 GB, free: 9.742 MB / 0.545 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.0001311/0.5089, allocations: 165.8 kB / 0.7768 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.5089, allocations: 27.56 kB / 0.7769 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.5092, allocations: 248.4 kB / 0.7771 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5092, allocations: 0 / 0.7771 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5092, allocations: 8.031 kB / 0.7771 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5092, allocations: 7.875 kB / 0.7771 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.5095, allocations: 285.8 kB / 0.7774 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5095, allocations: 3.938 kB / 0.7774 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.5095, allocations: 0 / 0.7774 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.5095, allocations: 0 / 0.7774 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.5095, allocations: 4 kB / 0.7774 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5095, allocations: 0 / 0.7774 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5095, allocations: 0 / 0.7774 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.5098, allocations: 260.7 kB / 0.7776 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.5098, allocations: 104.7 kB / 0.7777 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.5099, allocations: 0 / 0.7777 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.5099, allocations: 0 / 0.7777 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.5099, allocations: 3.984 kB / 0.7777 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.5099, allocations: 0 / 0.7777 GB, free: 8.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001525/0.5101, allocations: 188.5 kB / 0.7779 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5101, allocations: 0 / 0.7779 GB, free: 8.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005477/0.5106, allocations: 215.8 kB / 0.7781 GB, free: 8.148 MB / 0.545 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.0007179/0.5114, allocations: 343.6 kB / 0.7785 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.5116, allocations: 269.5 kB / 0.7787 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5117, allocations: 0 / 0.7787 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.5118, allocations: 173.6 kB / 0.7789 GB, free: 7.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.512, allocations: 24.98 kB / 0.7789 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.5127, allocations: 0.5156 MB / 0.7794 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5131, allocations: 0.7632 MB / 0.7801 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.5131, allocations: 7.438 kB / 0.7802 GB, free: 5.98 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5131, allocations: 0 / 0.7802 GB, free: 5.98 MB / 0.545 GB Notification: Performance of Templates: time 0.007272/0.5204, allocations: 4.724 MB / 0.7848 GB, free: 1.266 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)