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.761/0.761, allocations: 143.4 MB / 159.2 MB, free: 4.871 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.001161/0.001161, allocations: 188.5 kB / 191.9 MB, free: 5.711 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.379/1.379, allocations: 222.9 MB / 447.3 MB, free: 5.832 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.0009657/0.0009656, allocations: 99.2 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 278.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 83.88 kB / 0.6886 GB, free: 3.762 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3236, allocations: 81.3 MB / 0.768 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002183/0.3258, allocations: 1.422 MB / 0.7694 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.3281, allocations: 1.84 MB / 0.7712 GB, free: 24.35 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.3281, allocations: 3.938 kB / 0.7712 GB, free: 24.35 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.69e-05/0.3282, allocations: 7.984 kB / 0.7712 GB, free: 24.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.3283, allocations: 27.83 kB / 0.7712 GB, free: 24.31 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.3302, allocations: 1.075 MB / 0.7723 GB, free: 23.26 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.3303, allocations: 83.73 kB / 0.7723 GB, free: 23.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.3303, allocations: 4 kB / 0.7724 GB, free: 23.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.3304, allocations: 27.91 kB / 0.7724 GB, free: 23.14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.3305, allocations: 39.84 kB / 0.7724 GB, free: 23.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.3305, allocations: 0 / 0.7724 GB, free: 23.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00081/0.3313, allocations: 0.8423 MB / 0.7732 GB, free: 22.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3314, allocations: 71.75 kB / 0.7733 GB, free: 22.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3314, allocations: 63.42 kB / 0.7734 GB, free: 22.13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.3322, allocations: 0.8833 MB / 0.7742 GB, free: 21.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3322, allocations: 4 kB / 0.7742 GB, free: 21.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3322, allocations: 0 / 0.7742 GB, free: 21.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.3322, allocations: 0 / 0.7742 GB, free: 21.24 MB / 458.7 MB 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.0004893/0.3327, allocations: 0.584 MB / 0.7748 GB, free: 20.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3327, allocations: 12.03 kB / 0.7748 GB, free: 20.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3328, allocations: 20.66 kB / 0.7748 GB, free: 20.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3329, allocations: 226.7 kB / 0.7751 GB, free: 20.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.333, allocations: 384 / 0.7751 GB, free: 20.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.333, allocations: 384 / 0.7751 GB, free: 20.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3331, allocations: 110.3 kB / 0.7752 GB, free: 20.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3331, allocations: 0 / 0.7752 GB, free: 20.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3331, allocations: 0 / 0.7752 GB, free: 20.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3331, allocations: 0 / 0.7752 GB, free: 20.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.3332, allocations: 71.98 kB / 0.7752 GB, free: 20.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.3334, allocations: 281.9 kB / 0.7755 GB, free: 19.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.812e-05/0.3335, allocations: 122.5 kB / 0.7756 GB, free: 19.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.3335, allocations: 109.4 kB / 0.7757 GB, free: 19.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3335, allocations: 3.938 kB / 0.7757 GB, free: 19.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.3336, allocations: 38.55 kB / 0.7758 GB, free: 19.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 1.022e-06/0.3336, allocations: 3.938 kB / 0.7758 GB, free: 19.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002733/0.3339, allocations: 337.3 kB / 0.7761 GB, free: 19.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.3339, allocations: 51.41 kB / 0.7761 GB, free: 19.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.334, allocations: 253 kB / 0.7764 GB, free: 18.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.3341, allocations: 29.7 kB / 0.7764 GB, free: 18.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.3341, allocations: 124.7 kB / 0.7765 GB, free: 18.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.3342, allocations: 110.4 kB / 0.7766 GB, free: 18.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3342, allocations: 29.7 kB / 0.7767 GB, free: 18.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.3343, allocations: 338.8 kB / 0.777 GB, free: 18.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.3343, allocations: 83.98 kB / 0.7771 GB, free: 18.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.3344, allocations: 71.98 kB / 0.7771 GB, free: 18.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3345, allocations: 205.8 kB / 0.7773 GB, free: 17.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3345, allocations: 0 / 0.7773 GB, free: 17.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001631/0.3347, allocations: 229.1 kB / 0.7775 GB, free: 17.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3347, allocations: 8 kB / 0.7775 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3347, allocations: 0 / 0.7775 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3348, allocations: 0 / 0.7775 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3348, allocations: 0 / 0.7775 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3348, allocations: 0 / 0.7775 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.3348, allocations: 15.91 kB / 0.7776 GB, free: 17.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3348, allocations: 0 / 0.7776 GB, free: 17.61 MB / 458.7 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 8.209e-05/0.3349, allocations: 157.8 kB / 0.7777 GB, free: 17.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.3349, allocations: 27.56 kB / 0.7777 GB, free: 17.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.3351, allocations: 252.4 kB / 0.778 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3352, allocations: 0 / 0.778 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3352, allocations: 8.031 kB / 0.778 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3352, allocations: 0 / 0.778 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3353, allocations: 277.9 kB / 0.7783 GB, free: 16.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3353, allocations: 7.875 kB / 0.7783 GB, free: 16.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3353, allocations: 0 / 0.7783 GB, free: 16.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.3353, allocations: 0 / 0.7783 GB, free: 16.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.3353, allocations: 0 / 0.7783 GB, free: 16.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3353, allocations: 4 kB / 0.7783 GB, free: 16.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3353, allocations: 3.984 kB / 0.7783 GB, free: 16.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.3357, allocations: 0.9553 MB / 0.7792 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.3358, allocations: 104.8 kB / 0.7793 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3358, allocations: 3.938 kB / 0.7793 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.3358, allocations: 0 / 0.7793 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.3358, allocations: 4 kB / 0.7793 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.3358, allocations: 0 / 0.7793 GB, free: 15.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.336, allocations: 188.4 kB / 0.7795 GB, free: 15.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.336, allocations: 4.031 kB / 0.7795 GB, free: 15.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.3365, allocations: 227.8 kB / 0.7797 GB, free: 15.27 MB / 458.7 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.0005813/0.3371, allocations: 338 kB / 0.78 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3373, allocations: 253.6 kB / 0.7803 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3373, allocations: 0 / 0.7803 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.3374, allocations: 185.6 kB / 0.7805 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3376, allocations: 10.53 kB / 0.7805 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.3382, allocations: 0.7798 MB / 0.7812 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.3383, allocations: 0.7713 MB / 0.782 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.3384, allocations: 15.92 kB / 0.782 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.3384, allocations: 7.438 kB / 0.782 GB, free: 12.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3384, allocations: 0 / 0.782 GB, free: 12.83 MB / 458.7 MB Notification: Performance of Templates: time 0.006446/0.3448, allocations: 4.584 MB / 0.7865 GB, free: 8.309 MB / 458.7 MB 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)