Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 182.4 kB / 376.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.84 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 51.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2576, allocations: 114.5 MB / 0.9823 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002362/0.26, allocations: 1.442 MB / 0.9837 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.2626, allocations: 1.888 MB / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.2626, allocations: 0 / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.45e-05/0.2627, allocations: 15.92 kB / 0.9855 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2628, allocations: 23.89 kB / 0.9856 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.265, allocations: 1.044 MB / 0.9866 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.2651, allocations: 87.72 kB / 0.9867 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.2651, allocations: 4 kB / 0.9867 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.2652, allocations: 27.86 kB / 0.9867 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.2653, allocations: 35.89 kB / 0.9867 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2653, allocations: 0 / 0.9867 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.2663, allocations: 0.85 MB / 0.9876 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.2664, allocations: 71.69 kB / 0.9876 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.2664, allocations: 71.42 kB / 0.9877 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009111/0.2674, allocations: 0.8732 MB / 0.9886 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2674, allocations: 0 / 0.9886 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2674, allocations: 3.938 kB / 0.9886 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.2674, allocations: 4 kB / 0.9886 GB, free: 3.887 MB / 0.7136 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.0005805/0.268, allocations: 0.5878 MB / 0.9891 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.268, allocations: 15.98 kB / 0.9891 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2681, allocations: 24.56 kB / 0.9892 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2682, allocations: 218.9 kB / 0.9894 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2683, allocations: 8.312 kB / 0.9894 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.2683, allocations: 384 / 0.9894 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.2684, allocations: 117.8 kB / 0.9895 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2684, allocations: 4 kB / 0.9895 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.2684, allocations: 0 / 0.9895 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2684, allocations: 0 / 0.9895 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.2685, allocations: 75.97 kB / 0.9896 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.2687, allocations: 273.9 kB / 0.9898 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2689, allocations: 122.5 kB / 0.99 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.269, allocations: 108.9 kB / 0.9901 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.269, allocations: 3.938 kB / 0.9901 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.269, allocations: 38.56 kB / 0.9901 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 9.42e-07/0.269, allocations: 0 / 0.9901 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0003474/0.2694, allocations: 333.8 kB / 0.9904 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.2694, allocations: 51.41 kB / 0.9905 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.2696, allocations: 253 kB / 0.9907 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.2696, allocations: 25.7 kB / 0.9907 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.2697, allocations: 132.7 kB / 0.9909 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.2698, allocations: 98.47 kB / 0.991 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.2698, allocations: 37.67 kB / 0.991 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.27, allocations: 338.8 kB / 0.9913 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.27, allocations: 71.97 kB / 0.9914 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.2701, allocations: 79.95 kB / 0.9915 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.2703, allocations: 205.8 kB / 0.9917 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2703, allocations: 0 / 0.9917 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001995/0.2705, allocations: 221.3 kB / 0.9919 GB, free: 280 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2705, allocations: 8 kB / 0.9919 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2705, allocations: 0 / 0.9919 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2705, allocations: 4.062 kB / 0.9919 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2705, allocations: 0 / 0.9919 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2705, allocations: 3.984 kB / 0.9919 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.2706, allocations: 19.72 kB / 0.9919 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.2706, allocations: 0 / 0.9919 GB, free: 244 kB / 0.7136 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.0001065/0.2707, allocations: 157.8 kB / 0.9921 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.2707, allocations: 27.56 kB / 0.9921 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.271, allocations: 260.5 kB / 0.9923 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.271, allocations: 0 / 0.9923 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.271, allocations: 0 / 0.9923 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.271, allocations: 0 / 0.9923 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2712, allocations: 281.9 kB / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2712, allocations: 3.938 kB / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.2713, allocations: 0 / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2713, allocations: 0 / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2713, allocations: 4 kB / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2713, allocations: 0 / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2713, allocations: 4.031 kB / 0.9926 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.2718, allocations: 0.9397 MB / 0.9935 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.2719, allocations: 100.8 kB / 0.9936 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2719, allocations: 7.984 kB / 0.9936 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.272, allocations: 7.938 kB / 0.9936 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.272, allocations: 4.031 kB / 0.9936 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.272, allocations: 4 kB / 0.9936 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001496/0.2722, allocations: 184.5 kB / 0.9938 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2722, allocations: 0 / 0.9938 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006065/0.2728, allocations: 223.8 kB / 0.994 GB, free: 13.91 MB / 0.7292 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.0006307/0.2734, allocations: 345.8 kB / 0.9944 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.2737, allocations: 257.6 kB / 0.9946 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.2737, allocations: 4 kB / 0.9946 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.2738, allocations: 181.7 kB / 0.9948 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.274, allocations: 12.55 kB / 0.9948 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.2748, allocations: 0.7833 MB / 0.9956 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2752, allocations: 0.7713 MB / 0.9963 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.2752, allocations: 11.98 kB / 0.9963 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.2752, allocations: 7.438 kB / 0.9963 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.2752, allocations: 0 / 0.9963 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.007989/0.2832, allocations: 4.582 MB / 1.001 GB, free: 6.934 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)