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.005557/0.005557, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001338/0.001338, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 274.6 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9271/0.9271, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 95.86 kB / 0.6815 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1402, allocations: 86.98 MB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002104/0.1424, allocations: 1.373 MB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.1448, allocations: 1.791 MB / 0.7695 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.1449, allocations: 4 kB / 0.7696 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.605e-05/0.145, allocations: 7.922 kB / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1451, allocations: 39.88 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.1476, allocations: 1.137 MB / 0.7707 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.1477, allocations: 47.78 kB / 0.7708 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.1477, allocations: 7.984 kB / 0.7708 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.1478, allocations: 23.86 kB / 0.7708 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.1479, allocations: 31.91 kB / 0.7708 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1479, allocations: 0 / 0.7708 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1491, allocations: 0.8891 MB / 0.7717 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/0.1492, allocations: 67.8 kB / 0.7717 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.1492, allocations: 71.36 kB / 0.7718 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1503, allocations: 0.8788 MB / 0.7727 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1503, allocations: 0 / 0.7727 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1503, allocations: 0 / 0.7727 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1503, allocations: 0 / 0.7727 GB, free: 1.973 MB / 0.5606 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.0006517/0.151, allocations: 0.5956 MB / 0.7733 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.151, allocations: 11.97 kB / 0.7733 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.151, allocations: 28.56 kB / 0.7733 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1512, allocations: 214.9 kB / 0.7735 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.1512, allocations: 4.375 kB / 0.7735 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1513, allocations: 384 / 0.7735 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1514, allocations: 109.7 kB / 0.7736 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1514, allocations: 0 / 0.7736 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1514, allocations: 0 / 0.7736 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1514, allocations: 0 / 0.7736 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.603e-05/0.1515, allocations: 83.95 kB / 0.7737 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.1517, allocations: 273.9 kB / 0.7739 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1519, allocations: 118.5 kB / 0.7741 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.152, allocations: 112.8 kB / 0.7742 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.152, allocations: 11.92 kB / 0.7742 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.152, allocations: 30.56 kB / 0.7742 GB, free: 244 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.152, allocations: 4 kB / 0.7742 GB, free: 240 kB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.2833/0.4353, allocations: 335.1 kB / 0.7745 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.4354, allocations: 51.41 kB / 0.7746 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4357, allocations: 253.9 kB / 0.7748 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.4357, allocations: 29.86 kB / 0.7749 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.4358, allocations: 127.7 kB / 0.775 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.4359, allocations: 97.5 kB / 0.7751 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.4359, allocations: 27.25 kB / 0.7751 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.436, allocations: 344 kB / 0.7754 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.4361, allocations: 73.84 kB / 0.7755 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.4362, allocations: 74.5 kB / 0.7756 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4364, allocations: 201.1 kB / 0.7758 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4364, allocations: 0.75 kB / 0.7758 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002479/0.4366, allocations: 232.2 kB / 0.776 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4366, allocations: 5.375 kB / 0.776 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4367, allocations: 3.703 kB / 0.776 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4367, allocations: 3.75 kB / 0.776 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4367, allocations: 2.75 kB / 0.776 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4367, allocations: 1.062 kB / 0.776 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.4368, allocations: 12.52 kB / 0.776 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4368, allocations: 0.8438 kB / 0.776 GB, free: 14.84 MB / 0.5606 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.0001077/0.4369, allocations: 157.1 kB / 0.7762 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.4369, allocations: 25.41 kB / 0.7762 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.4372, allocations: 259.8 kB / 0.7764 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4372, allocations: 1.688 kB / 0.7764 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4373, allocations: 2.094 kB / 0.7764 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.4373, allocations: 1.906 kB / 0.7764 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.4375, allocations: 282.3 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4375, allocations: 1.281 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.4375, allocations: 2.125 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4375, allocations: 0.8438 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4375, allocations: 4.812 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4375, allocations: 1.844 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4375, allocations: 0.625 kB / 0.7767 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4378, allocations: 257.2 kB / 0.777 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.4378, allocations: 101.3 kB / 0.7771 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4378, allocations: 4.656 kB / 0.7771 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.4379, allocations: 2.25 kB / 0.7771 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.4379, allocations: 3.172 kB / 0.7771 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.4379, allocations: 6.094 kB / 0.7771 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001526/0.4381, allocations: 196.8 kB / 0.7773 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4381, allocations: 0 / 0.7773 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006546/0.4387, allocations: 208 kB / 0.7775 GB, free: 14.05 MB / 0.5606 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.000693/0.4394, allocations: 338.9 kB / 0.7778 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.4397, allocations: 271.5 kB / 0.778 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4397, allocations: 1.031 kB / 0.778 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4399, allocations: 184.7 kB / 0.7782 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4401, allocations: 13.94 kB / 0.7782 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.4407, allocations: 491.3 kB / 0.7787 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.4409, allocations: 0.7676 MB / 0.7794 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.4409, allocations: 5.766 kB / 0.7795 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.261e-05/0.441, allocations: 9.875 kB / 0.7795 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.441, allocations: 0 / 0.7795 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.008461/0.4494, allocations: 4.623 MB / 0.784 GB, free: 12.54 MB / 0.5606 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)