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.8126/0.8126, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 175.6 kB / 191.5 MB, free: 5.754 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.513/1.513, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.001153/0.001153, allocations: 96.25 kB / 0.5188 GB, free: 1.125 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 267 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 18.97 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1684, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.504/0.6724, allocations: 121 MB / 0.892 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.6728, allocations: 120.1 kB / 0.8921 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.697, allocations: 8.507 MB / 0.9004 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6971, allocations: 0 / 0.9004 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.6971, allocations: 3.562 kB / 0.9004 GB, free: 21.43 MB / 0.5417 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.0007277/0.6978, allocations: 0.5967 MB / 0.901 GB, free: 20.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6979, allocations: 9.062 kB / 0.901 GB, free: 20.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.6979, allocations: 27 kB / 0.901 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.6981, allocations: 223 kB / 0.9012 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.6981, allocations: 0.9375 kB / 0.9012 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.6981, allocations: 5.188 kB / 0.9012 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.6983, allocations: 114.5 kB / 0.9013 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6983, allocations: 0 / 0.9013 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.6983, allocations: 0 / 0.9013 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6983, allocations: 4.984 kB / 0.9014 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.6984, allocations: 75.89 kB / 0.9014 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.6987, allocations: 279.2 kB / 0.9017 GB, free: 20.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.6989, allocations: 121.5 kB / 0.9018 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.6989, allocations: 5.094 kB / 0.9018 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.6989, allocations: 32.16 kB / 0.9018 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.6989, allocations: 0 / 0.9018 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.0005261/0.6994, allocations: 438.2 kB / 0.9023 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.6995, allocations: 51.41 kB / 0.9023 GB, free: 20.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.6997, allocations: 227.1 kB / 0.9025 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.6997, allocations: 27.36 kB / 0.9026 GB, free: 20.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.6998, allocations: 134.2 kB / 0.9027 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.6998, allocations: 101.3 kB / 0.9028 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.6998, allocations: 3.938 kB / 0.9028 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.6999, allocations: 340.4 kB / 0.9031 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.7, allocations: 79.81 kB / 0.9032 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.7001, allocations: 75.56 kB / 0.9033 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.7002, allocations: 101 kB / 0.9033 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7002, allocations: 1.156 kB / 0.9033 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002344/0.7004, allocations: 231.3 kB / 0.9036 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7005, allocations: 6.438 kB / 0.9036 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7005, allocations: 7.594 kB / 0.9036 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7005, allocations: 1.344 kB / 0.9036 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.7005, allocations: 0 / 0.9036 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.7005, allocations: 0 / 0.9036 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.7006, allocations: 18.12 kB / 0.9036 GB, free: 19.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.7006, allocations: 5.734 kB / 0.9036 GB, free: 19.47 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.7007, allocations: 154.5 kB / 0.9038 GB, free: 19.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.7007, allocations: 23.17 kB / 0.9038 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.7011, allocations: 0.5776 MB / 0.9043 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.7012, allocations: 181.5 kB / 0.9045 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-05/0.7012, allocations: 182.1 kB / 0.9047 GB, free: 18.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.7013, allocations: 178 kB / 0.9049 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.7016, allocations: 0.55 MB / 0.9054 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.7016, allocations: 102.4 kB / 0.9055 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.7016, allocations: 102 kB / 0.9056 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.386e-05/0.7016, allocations: 186.2 kB / 0.9058 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.7017, allocations: 183.6 kB / 0.9059 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.368e-05/0.7017, allocations: 181.5 kB / 0.9061 GB, free: 17.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-05/0.7017, allocations: 181.5 kB / 0.9063 GB, free: 17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.7019, allocations: 332.3 kB / 0.9066 GB, free: 16.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.7023, allocations: 357.1 kB / 0.9069 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006589/0.703, allocations: 188.4 kB / 0.9071 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.7032, allocations: 110.4 kB / 0.9072 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.7033, allocations: 177.4 kB / 0.9074 GB, free: 31.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.7033, allocations: 107.2 kB / 0.9075 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001284/0.7046, allocations: 1.141 MB / 0.9086 GB, free: 31.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7046, allocations: 0 / 0.9086 GB, free: 31.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001083/0.7057, allocations: 301.9 kB / 0.9089 GB, free: 31.71 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 () * Number of clocked 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.0008469/0.7065, allocations: 435.2 kB / 0.9093 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.7069, allocations: 187.1 kB / 0.9095 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7069, allocations: 0.5 kB / 0.9095 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.7069, allocations: 4.469 kB / 0.9095 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.7073, allocations: 0.5387 MB / 0.91 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.7081, allocations: 0.527 MB / 0.9105 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.7085, allocations: 0.7576 MB / 0.9113 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.7085, allocations: 2.781 kB / 0.9113 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.7085, allocations: 8.938 kB / 0.9113 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.7086, allocations: 4 kB / 0.9113 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.008452/0.717, allocations: 4.437 MB / 0.9156 GB, free: 29.54 MB / 0.5573 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)