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.005778/0.005778, allocations: 106 kB / 15.74 MB, free: 6.02 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.001368/0.001368, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.291/1.291, allocations: 222.9 MB / 240.4 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.002036/0.002036, allocations: 296.5 kB / 290.8 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.929/0.929, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 87.86 kB / 0.6815 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3645, allocations: 86.97 MB / 0.7665 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002047/0.3666, allocations: 1.372 MB / 0.7678 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3691, allocations: 1.8 MB / 0.7696 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.3691, allocations: 0 / 0.7696 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.626e-05/0.3692, allocations: 15.92 kB / 0.7696 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.3694, allocations: 23.89 kB / 0.7696 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.3717, allocations: 1.145 MB / 0.7707 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.3718, allocations: 43.78 kB / 0.7708 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.3718, allocations: 11.98 kB / 0.7708 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.3719, allocations: 27.86 kB / 0.7708 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.372, allocations: 27.91 kB / 0.7708 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.372, allocations: 0 / 0.7708 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.3731, allocations: 0.8929 MB / 0.7717 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.3732, allocations: 63.81 kB / 0.7718 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.3732, allocations: 67.38 kB / 0.7718 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.3742, allocations: 0.8819 MB / 0.7727 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3742, allocations: 0 / 0.7727 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3742, allocations: 4 kB / 0.7727 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3742, allocations: 0 / 0.7727 GB, free: 13.53 MB / 0.545 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.0005926/0.3748, allocations: 0.5907 MB / 0.7733 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3748, allocations: 12.03 kB / 0.7733 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.3749, allocations: 28.69 kB / 0.7733 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3751, allocations: 230.9 kB / 0.7735 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.3751, allocations: 4.312 kB / 0.7735 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.3751, allocations: 384 / 0.7735 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3752, allocations: 113.8 kB / 0.7736 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.3753, allocations: 0 / 0.7736 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3753, allocations: 0 / 0.7736 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3753, allocations: 0 / 0.7736 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.3754, allocations: 75.97 kB / 0.7737 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.3756, allocations: 277.9 kB / 0.774 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3757, allocations: 130.5 kB / 0.7741 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.3758, allocations: 104.9 kB / 0.7742 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3759, allocations: 7.938 kB / 0.7742 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3759, allocations: 38.55 kB / 0.7742 GB, free: 11.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 9.71e-07/0.3759, allocations: 0 / 0.7742 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0003565/0.3763, allocations: 331.8 kB / 0.7746 GB, free: 11.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3763, allocations: 51.41 kB / 0.7746 GB, free: 11.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3765, allocations: 257 kB / 0.7748 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3765, allocations: 25.7 kB / 0.7749 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.3766, allocations: 132.6 kB / 0.775 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.3767, allocations: 115.1 kB / 0.7751 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3768, allocations: 29.7 kB / 0.7751 GB, free: 10.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3769, allocations: 338.8 kB / 0.7755 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.3769, allocations: 71.97 kB / 0.7755 GB, free: 10.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.377, allocations: 75.97 kB / 0.7756 GB, free: 10.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.3772, allocations: 200.8 kB / 0.7758 GB, free: 10.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3772, allocations: 0 / 0.7758 GB, free: 10.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002084/0.3774, allocations: 225.6 kB / 0.776 GB, free: 9.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.3774, allocations: 8 kB / 0.776 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3775, allocations: 4.062 kB / 0.776 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.3775, allocations: 0 / 0.776 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-06/0.3775, allocations: 0 / 0.776 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.3775, allocations: 3.938 kB / 0.776 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3775, allocations: 11.89 kB / 0.776 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3776, allocations: 0 / 0.776 GB, free: 9.875 MB / 0.545 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.0001064/0.3777, allocations: 169.7 kB / 0.7762 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3777, allocations: 27.75 kB / 0.7762 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.378, allocations: 256.5 kB / 0.7765 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.378, allocations: 0 / 0.7765 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.378, allocations: 0 / 0.7765 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.378, allocations: 0 / 0.7765 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3782, allocations: 281.9 kB / 0.7767 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3782, allocations: 7.938 kB / 0.7767 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3782, allocations: 0 / 0.7767 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3782, allocations: 3.938 kB / 0.7767 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3782, allocations: 7.984 kB / 0.7768 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3782, allocations: 0 / 0.7768 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3782, allocations: 0 / 0.7768 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3785, allocations: 260.9 kB / 0.777 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.3785, allocations: 104.8 kB / 0.7771 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3785, allocations: 4 kB / 0.7771 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.3786, allocations: 0 / 0.7771 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.3786, allocations: 4 kB / 0.7771 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.3786, allocations: 0 / 0.7771 GB, free: 8.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001519/0.3788, allocations: 192.4 kB / 0.7773 GB, free: 8.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3788, allocations: 0 / 0.7773 GB, free: 8.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004885/0.3793, allocations: 215.4 kB / 0.7775 GB, free: 8.27 MB / 0.545 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.0006446/0.3799, allocations: 340.5 kB / 0.7778 GB, free: 7.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3802, allocations: 265.6 kB / 0.7781 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3802, allocations: 0 / 0.7781 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3804, allocations: 181.6 kB / 0.7783 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.3806, allocations: 17 kB / 0.7783 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3811, allocations: 0.4978 MB / 0.7788 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3815, allocations: 0.7671 MB / 0.7795 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.3815, allocations: 0 / 0.7795 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.3815, allocations: 11.44 kB / 0.7795 GB, free: 6.121 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3815, allocations: 0 / 0.7795 GB, free: 6.121 MB / 0.545 GB Notification: Performance of Templates: time 0.00762/0.3891, allocations: 4.639 MB / 0.784 GB, free: 1.547 MB / 0.545 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)