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_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/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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 104 kB / 16.35 MB, free: 5.875 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.001527/0.001527, allocations: 198.9 kB / 17.3 MB, free: 5.516 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002241/0.002242, allocations: 291.9 kB / 291.4 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.9442/0.9442, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 99.72 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1433, allocations: 86.98 MB / 0.6817 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002507/0.1459, allocations: 1.369 MB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.1486, allocations: 1.779 MB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.1487, allocations: 3.938 kB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.236e-05/0.1488, allocations: 7.984 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1489, allocations: 31.83 kB / 0.6848 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.1515, allocations: 1.141 MB / 0.6859 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.1516, allocations: 47.78 kB / 0.6859 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1516, allocations: 4 kB / 0.6859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.1517, allocations: 27.84 kB / 0.686 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.1518, allocations: 23.92 kB / 0.686 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1518, allocations: 7.984 kB / 0.686 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.153, allocations: 0.8852 MB / 0.6869 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.153, allocations: 27.92 kB / 0.6869 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.1531, allocations: 23.8 kB / 0.6869 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1541, allocations: 0.7991 MB / 0.6877 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1541, allocations: 0 / 0.6877 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1541, allocations: 3.938 kB / 0.6877 GB, free: 1.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1541, allocations: 0 / 0.6877 GB, free: 1.215 MB / 494.1 MB 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.00056/0.1547, allocations: 482.9 kB / 0.6882 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1547, allocations: 8.031 kB / 0.6882 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1548, allocations: 8.844 kB / 0.6882 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1549, allocations: 188.7 kB / 0.6883 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.155, allocations: 384 / 0.6883 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.155, allocations: 3.938 kB / 0.6884 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.1551, allocations: 49.69 kB / 0.6884 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1551, allocations: 0 / 0.6884 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1551, allocations: 0 / 0.6884 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1551, allocations: 3.938 kB / 0.6884 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.1552, allocations: 28 kB / 0.6884 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1554, allocations: 197.5 kB / 0.6886 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.1554, allocations: 50.44 kB / 0.6887 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.1555, allocations: 28.89 kB / 0.6887 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1555, allocations: 7.938 kB / 0.6887 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2429/0.3984, allocations: 31.22 kB / 0.6887 GB, free: 18.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 3.877e-06/0.3984, allocations: 0.7812 kB / 0.6887 GB, free: 18.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003353/0.3988, allocations: 116.4 kB / 0.6888 GB, free: 18.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.3988, allocations: 55.56 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.399, allocations: 151.6 kB / 0.689 GB, free: 18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.399, allocations: 28.86 kB / 0.6891 GB, free: 17.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.399, allocations: 96.02 kB / 0.6892 GB, free: 17.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.3991, allocations: 26.2 kB / 0.6892 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.3991, allocations: 19.47 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.3992, allocations: 322.7 kB / 0.6895 GB, free: 17.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.3992, allocations: 24.78 kB / 0.6895 GB, free: 17.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.3993, allocations: 21.78 kB / 0.6896 GB, free: 17.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.3994, allocations: 72.53 kB / 0.6896 GB, free: 17.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3994, allocations: 3.75 kB / 0.6896 GB, free: 17.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001212/0.3995, allocations: 97.09 kB / 0.6897 GB, free: 17.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3995, allocations: 5.297 kB / 0.6897 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3996, allocations: 0.75 kB / 0.6897 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3996, allocations: 1.781 kB / 0.6897 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3996, allocations: 0 / 0.6897 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3996, allocations: 1.219 kB / 0.6897 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.3996, allocations: 5.062 kB / 0.6897 GB, free: 17.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.3997, allocations: 2.969 kB / 0.6897 GB, free: 17.5 MB / 494.1 MB 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 6.574e-05/0.3997, allocations: 132.4 kB / 0.6899 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.3997, allocations: 9.609 kB / 0.6899 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.3999, allocations: 98.56 kB / 0.69 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3999, allocations: 1.141 kB / 0.69 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3999, allocations: 0 / 0.69 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3999, allocations: 2.016 kB / 0.69 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.4001, allocations: 203.8 kB / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.4001, allocations: 2.922 kB / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.4001, allocations: 4.656 kB / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4001, allocations: 0.7188 kB / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4001, allocations: 2.156 kB / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4001, allocations: 2.125 kB / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4001, allocations: 0 / 0.6902 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.4002, allocations: 125 kB / 0.6903 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.4003, allocations: 88.2 kB / 0.6904 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4003, allocations: 3.219 kB / 0.6904 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.4003, allocations: 0.5156 kB / 0.6904 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.4003, allocations: 1.625 kB / 0.6904 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.4003, allocations: 0.9062 kB / 0.6904 GB, free: 16.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.4004, allocations: 119.4 kB / 0.6905 GB, free: 16.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4004, allocations: 0 / 0.6905 GB, free: 16.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.401, allocations: 199.2 kB / 0.6907 GB, free: 16.91 MB / 494.1 MB 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.0006751/0.4017, allocations: 348.8 kB / 0.691 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.4019, allocations: 101.5 kB / 0.6911 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4019, allocations: 0.8438 kB / 0.6911 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.402, allocations: 68.42 kB / 0.6912 GB, free: 16.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.4022, allocations: 7.672 kB / 0.6912 GB, free: 16.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.4026, allocations: 224.7 kB / 0.6914 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.4028, allocations: 0.7049 MB / 0.6921 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.4028, allocations: 2.672 kB / 0.6921 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.4028, allocations: 8.719 kB / 0.6921 GB, free: 15.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4028, allocations: 1.594 kB / 0.6921 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Templates: time 0.009062/0.4119, allocations: 4.311 MB / 0.6963 GB, free: 15.65 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)