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.001352/0.001352, allocations: 104.1 kB / 16.41 MB, free: 6.449 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.001457/0.001457, allocations: 192.2 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 290 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9653/0.9653, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 95.86 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5139, allocations: 86.99 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002888/0.5168, allocations: 1.361 MB / 0.7685 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.52, allocations: 1.804 MB / 0.7702 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.52, allocations: 0 / 0.7702 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.5202, allocations: 7.922 kB / 0.7702 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.5204, allocations: 35.83 kB / 0.7703 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.5234, allocations: 1.132 MB / 0.7714 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.5235, allocations: 59.7 kB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.5235, allocations: 4 kB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.5236, allocations: 27.91 kB / 0.7715 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.5237, allocations: 27.84 kB / 0.7715 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.5237, allocations: 0 / 0.7715 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.5251, allocations: 0.8891 MB / 0.7723 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.5253, allocations: 63.81 kB / 0.7724 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.5253, allocations: 71.36 kB / 0.7725 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.5267, allocations: 0.8751 MB / 0.7733 GB, free: 13.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5267, allocations: 4 kB / 0.7733 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5267, allocations: 0 / 0.7733 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5267, allocations: 0 / 0.7733 GB, free: 13.55 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.0008662/0.5276, allocations: 0.5865 MB / 0.7739 GB, free: 12.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5276, allocations: 8.031 kB / 0.7739 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.5277, allocations: 20.66 kB / 0.7739 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.5279, allocations: 226.7 kB / 0.7742 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.528, allocations: 4.375 kB / 0.7742 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.528, allocations: 4.312 kB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.5281, allocations: 109.8 kB / 0.7743 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.5282, allocations: 0 / 0.7743 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5282, allocations: 0 / 0.7743 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5282, allocations: 0 / 0.7743 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.5283, allocations: 79.91 kB / 0.7743 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.5286, allocations: 277.9 kB / 0.7746 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.5287, allocations: 122.5 kB / 0.7747 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.5288, allocations: 116.8 kB / 0.7748 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.5289, allocations: 7.938 kB / 0.7748 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.5289, allocations: 30.56 kB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.5289, allocations: 0 / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0004238/0.5293, allocations: 335.7 kB / 0.7752 GB, free: 11.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.5294, allocations: 55.39 kB / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.5296, allocations: 253 kB / 0.7755 GB, free: 11.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.5296, allocations: 29.7 kB / 0.7755 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.5297, allocations: 124.7 kB / 0.7756 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.5298, allocations: 110.3 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.5299, allocations: 29.7 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5301, allocations: 342.8 kB / 0.7761 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.5301, allocations: 71.97 kB / 0.7762 GB, free: 10.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.5302, allocations: 79.89 kB / 0.7762 GB, free: 10.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.5304, allocations: 196.8 kB / 0.7764 GB, free: 10.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5304, allocations: 0 / 0.7764 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002463/0.5307, allocations: 233.5 kB / 0.7766 GB, free: 9.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5307, allocations: 4 kB / 0.7767 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.5307, allocations: 4 kB / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5307, allocations: 0 / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.5307, allocations: 0 / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5307, allocations: 0 / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.5308, allocations: 7.844 kB / 0.7767 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.5308, allocations: 4 kB / 0.7767 GB, free: 9.922 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.0001304/0.531, allocations: 157.8 kB / 0.7768 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.531, allocations: 27.59 kB / 0.7768 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5313, allocations: 260.3 kB / 0.7771 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5313, allocations: 0 / 0.7771 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5313, allocations: 3.938 kB / 0.7771 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5313, allocations: 0 / 0.7771 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.5316, allocations: 281.9 kB / 0.7774 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.5316, allocations: 3.938 kB / 0.7774 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.5316, allocations: 7.984 kB / 0.7774 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.5316, allocations: 0 / 0.7774 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5316, allocations: 0 / 0.7774 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5316, allocations: 0 / 0.7774 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5316, allocations: 4.031 kB / 0.7774 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.5319, allocations: 260.7 kB / 0.7776 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.532, allocations: 104.7 kB / 0.7777 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.532, allocations: 0 / 0.7777 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.532, allocations: 0 / 0.7777 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.5321, allocations: 0 / 0.7777 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.5321, allocations: 4 kB / 0.7777 GB, free: 8.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00018/0.5323, allocations: 196.4 kB / 0.7779 GB, free: 8.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5323, allocations: 0 / 0.7779 GB, free: 8.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006448/0.5329, allocations: 211.8 kB / 0.7781 GB, free: 8.324 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.0008591/0.5338, allocations: 342 kB / 0.7784 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.5341, allocations: 261.6 kB / 0.7787 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5341, allocations: 0 / 0.7787 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.5343, allocations: 177.6 kB / 0.7789 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.5345, allocations: 25.11 kB / 0.7789 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.5352, allocations: 0.5159 MB / 0.7794 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5356, allocations: 0.7748 MB / 0.7802 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.5356, allocations: 7.438 kB / 0.7802 GB, free: 6.148 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.5357, allocations: 0 / 0.7802 GB, free: 6.148 MB / 0.545 GB Notification: Performance of Templates: time 0.008473/0.5441, allocations: 4.684 MB / 0.7847 GB, free: 1.477 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)