Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.001142/0.001142, allocations: 183.2 kB / 371.8 MB, free: 10.28 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.765/1.765, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 97.23 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 11.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001569/0.251, allocations: 1.111 MB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003414/0.2544, allocations: 2.623 MB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.2545, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.2545, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.2546, allocations: 19.91 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.2575, allocations: 1.275 MB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.2575, allocations: 31.94 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.2576, allocations: 3.984 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.2576, allocations: 15.94 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.2577, allocations: 11.94 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2577, allocations: 0 / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2592, allocations: 1.174 MB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2592, allocations: 7.922 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.2593, allocations: 29.7 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.2602, allocations: 0.7138 MB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2602, allocations: 7.938 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2602, allocations: 0 / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2602, allocations: 0 / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005229/0.2608, allocations: 0.5106 MB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2608, allocations: 8.031 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.2609, allocations: 87.12 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.261, allocations: 252.1 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.261, allocations: 158.6 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.2611, allocations: 154.5 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.551e-05/0.2612, allocations: 101 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2612, allocations: 79.28 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.2612, allocations: 150.6 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.2612, allocations: 150.6 kB / 0.9879 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.2613, allocations: 162.5 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.2615, allocations: 465.8 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.2616, allocations: 169.1 kB / 0.9887 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2616, allocations: 75.28 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.2616, allocations: 109.8 kB / 0.9889 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.943e-06/0.2616, allocations: 0 / 0.9889 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.545e-05/0.2617, allocations: 37.58 kB / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2618, allocations: 126.7 kB / 0.989 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2619, allocations: 135.3 kB / 0.9891 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2619, allocations: 25.7 kB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.2619, allocations: 96.12 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.262, allocations: 4 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.262, allocations: 0 / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.262, allocations: 314.8 kB / 0.9896 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.2621, allocations: 8 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.2621, allocations: 7.984 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.2621, allocations: 8.031 kB / 0.9896 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2621, allocations: 0 / 0.9896 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001101/0.2622, allocations: 45.64 kB / 0.9896 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2623, allocations: 4 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.2623, allocations: 4 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2623, allocations: 4.062 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.175e-06/0.2623, allocations: 3.984 kB / 0.9896 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2623, allocations: 0 / 0.9896 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.2624, allocations: 11.91 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.2624, allocations: 0 / 0.9897 GB, free: 16.98 MB / 0.6198 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 7.54e-05/0.2624, allocations: 185.1 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2625, allocations: 105 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.2625, allocations: 120.8 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.2626, allocations: 184.2 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.67e-05/0.2626, allocations: 176.3 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-05/0.2627, allocations: 180.2 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.2628, allocations: 417.2 kB / 0.991 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.2628, allocations: 104.9 kB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.2629, allocations: 109 kB / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-05/0.2629, allocations: 184.2 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.263, allocations: 180.3 kB / 0.9915 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-05/0.263, allocations: 176.3 kB / 0.9917 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.106e-05/0.263, allocations: 184.2 kB / 0.9919 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.2632, allocations: 315.7 kB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.2632, allocations: 186.2 kB / 0.9923 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2633, allocations: 184.3 kB / 0.9925 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.2633, allocations: 112.9 kB / 0.9926 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2634, allocations: 184.3 kB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2634, allocations: 104.9 kB / 0.9929 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.2635, allocations: 96.52 kB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2635, allocations: 0 / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006438/0.2641, allocations: 279.8 kB / 0.9933 GB, free: 13.07 MB / 0.6198 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.000926/0.265, allocations: 0.5058 MB / 0.9937 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.2652, allocations: 45.69 kB / 0.9938 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2652, allocations: 3.938 kB / 0.9938 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/0.2652, allocations: 0 / 0.9938 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.2655, allocations: 0.5263 MB / 0.9943 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.2658, allocations: 260.4 kB / 0.9946 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.2659, allocations: 0.6809 MB / 0.9952 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.566e-05/0.2659, allocations: 3.984 kB / 0.9952 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.266, allocations: 7.438 kB / 0.9952 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.266, allocations: 4 kB / 0.9952 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.008583/0.2746, allocations: 5.509 MB / 1.001 GB, free: 5.512 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)