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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8813/0.8813, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001776, allocations: 183.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009029, allocations: 92.75 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 278.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.867e-05/4.931e-05, allocations: 8 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4433, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5823, allocations: 121 MB / 0.8825 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.5827, allocations: 119.8 kB / 0.8826 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02454/0.6073, allocations: 8.475 MB / 0.8909 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6073, allocations: 0 / 0.8909 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6073, allocations: 4 kB / 0.8909 GB, free: 10.95 MB / 0.5573 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.0006932/0.608, allocations: 0.5522 MB / 0.8914 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.608, allocations: 8.031 kB / 0.8914 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.6081, allocations: 27.61 kB / 0.8914 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.6083, allocations: 221.6 kB / 0.8916 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6084, allocations: 4 kB / 0.8917 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.6084, allocations: 0 / 0.8917 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.6086, allocations: 105.7 kB / 0.8918 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6086, allocations: 3.984 kB / 0.8918 GB, free: 9.941 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6086, allocations: 4 kB / 0.8918 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6086, allocations: 0 / 0.8918 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.6087, allocations: 71.97 kB / 0.8918 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.609, allocations: 277.8 kB / 0.8921 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.6091, allocations: 126.5 kB / 0.8922 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6092, allocations: 116.9 kB / 0.8923 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6093, allocations: 0 / 0.8923 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6093, allocations: 30.56 kB / 0.8924 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.6093, allocations: 4 kB / 0.8924 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0003078/0.6096, allocations: 221.8 kB / 0.8926 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.6097, allocations: 51.41 kB / 0.8926 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.6099, allocations: 233.1 kB / 0.8928 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.6099, allocations: 25.7 kB / 0.8929 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.61, allocations: 132.6 kB / 0.893 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.6101, allocations: 110.3 kB / 0.8931 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.6101, allocations: 0 / 0.8931 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6102, allocations: 342.8 kB / 0.8934 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.6103, allocations: 79.89 kB / 0.8935 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.6104, allocations: 75.97 kB / 0.8936 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.6105, allocations: 100.2 kB / 0.8937 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6105, allocations: 4.031 kB / 0.8937 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002349/0.6108, allocations: 225.3 kB / 0.8939 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6108, allocations: 9.406 kB / 0.8939 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6108, allocations: 0 / 0.8939 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6108, allocations: 3.984 kB / 0.8939 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.6108, allocations: 0 / 0.8939 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6109, allocations: 0 / 0.8939 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.6109, allocations: 11.84 kB / 0.8939 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.6109, allocations: 4 kB / 0.8939 GB, free: 7.609 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.611, allocations: 105 kB / 0.894 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.611, allocations: 35.55 kB / 0.894 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.6115, allocations: 0.5672 MB / 0.8946 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.885e-05/0.6116, allocations: 184.3 kB / 0.8948 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-05/0.6117, allocations: 180.2 kB / 0.8949 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-05/0.6117, allocations: 184.2 kB / 0.8951 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.6121, allocations: 0.5436 MB / 0.8957 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.6121, allocations: 101 kB / 0.8958 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.6122, allocations: 108.9 kB / 0.8959 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.69e-05/0.6123, allocations: 188.1 kB / 0.896 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.6123, allocations: 176.3 kB / 0.8962 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.542e-05/0.6124, allocations: 184.2 kB / 0.8964 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.678e-05/0.6125, allocations: 184.3 kB / 0.8966 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.6126, allocations: 327.4 kB / 0.8969 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.6131, allocations: 357.6 kB / 0.8972 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.6133, allocations: 196.2 kB / 0.8974 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.6134, allocations: 101 kB / 0.8975 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.6135, allocations: 184.2 kB / 0.8977 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.6136, allocations: 102.2 kB / 0.8978 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00127/0.6148, allocations: 1.127 MB / 0.8989 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6148, allocations: 0 / 0.8989 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001012/0.6159, allocations: 303.6 kB / 0.8992 GB, free: 1.93 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008315/0.6167, allocations: 447.6 kB / 0.8996 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.6169, allocations: 181.6 kB / 0.8998 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6169, allocations: 0 / 0.8998 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.617, allocations: 0 / 0.8998 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.6174, allocations: 0.5354 MB / 0.9003 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.6179, allocations: 366.5 kB / 0.9006 GB, free: 384 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.6183, allocations: 0.7628 MB / 0.9014 GB, free: 15.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.6183, allocations: 4 kB / 0.9014 GB, free: 15.58 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.6184, allocations: 11.44 kB / 0.9014 GB, free: 15.57 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/0.6184, allocations: 0 / 0.9014 GB, free: 15.57 MB / 0.573 GB Notification: Performance of Templates: time 0.008765/0.6271, allocations: 4.5 MB / 0.9058 GB, free: 11.13 MB / 0.573 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)