Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005781/0.00578, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.00127/0.00127, allocations: 189.3 kB / 16.67 MB, free: 5.523 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.364/1.364, allocations: 222.9 MB / 240.3 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.002135/0.002136, allocations: 298.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.9461/0.9461, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 91.86 kB / 0.6815 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4483, allocations: 86.99 MB / 0.7665 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002912/0.4512, allocations: 1.412 MB / 0.7679 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004748/0.456, allocations: 2.854 MB / 0.7706 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.4561, allocations: 0 / 0.7706 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.4562, allocations: 7.875 kB / 0.7706 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.4563, allocations: 15.86 kB / 0.7707 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.4603, allocations: 1.551 MB / 0.7722 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.4604, allocations: 47.66 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.4604, allocations: 4 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.4605, allocations: 19.94 kB / 0.7722 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.652e-05/0.4605, allocations: 15.92 kB / 0.7723 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.4605, allocations: 0 / 0.7723 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.4626, allocations: 1.486 MB / 0.7737 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.4626, allocations: 7.922 kB / 0.7737 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.4627, allocations: 15.88 kB / 0.7737 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.464, allocations: 1.075 MB / 0.7748 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.464, allocations: 0 / 0.7748 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.236e-06/0.464, allocations: 3.984 kB / 0.7748 GB, free: 11.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.464, allocations: 4 kB / 0.7748 GB, free: 11.42 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000609/0.4646, allocations: 0.5107 MB / 0.7753 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4647, allocations: 12.03 kB / 0.7753 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.4647, allocations: 76.22 kB / 0.7754 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4649, allocations: 255.4 kB / 0.7756 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.465, allocations: 158.9 kB / 0.7758 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.465, allocations: 154.9 kB / 0.7759 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.282e-05/0.4651, allocations: 113 kB / 0.776 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.4651, allocations: 75.28 kB / 0.7761 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.4652, allocations: 150.6 kB / 0.7762 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.4652, allocations: 150.6 kB / 0.7764 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.4653, allocations: 150.6 kB / 0.7765 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.4656, allocations: 465.9 kB / 0.777 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.4657, allocations: 173.1 kB / 0.7771 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.4657, allocations: 80.14 kB / 0.7772 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.4658, allocations: 75.28 kB / 0.7773 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.4658, allocations: 117.8 kB / 0.7774 GB, free: 8.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.4658, allocations: 0 / 0.7774 GB, free: 8.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.479e-05/0.4659, allocations: 29.7 kB / 0.7774 GB, free: 8.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.466, allocations: 130.6 kB / 0.7776 GB, free: 8.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4661, allocations: 132.7 kB / 0.7777 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.4661, allocations: 25.7 kB / 0.7777 GB, free: 8.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.4662, allocations: 96.12 kB / 0.7778 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.4662, allocations: 0 / 0.7778 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.4662, allocations: 17.72 kB / 0.7778 GB, free: 8.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4663, allocations: 318.8 kB / 0.7781 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.4664, allocations: 4 kB / 0.7781 GB, free: 7.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.4664, allocations: 8.031 kB / 0.7781 GB, free: 7.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.4664, allocations: 12.8 kB / 0.7781 GB, free: 7.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4665, allocations: 0 / 0.7781 GB, free: 7.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.4666, allocations: 57.53 kB / 0.7782 GB, free: 7.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4666, allocations: 4 kB / 0.7782 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.4666, allocations: 8 kB / 0.7782 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4666, allocations: 7.938 kB / 0.7782 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.4667, allocations: 0 / 0.7782 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4667, allocations: 0 / 0.7782 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.4667, allocations: 0 / 0.7782 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4667, allocations: 0 / 0.7782 GB, free: 7.684 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 9.269e-05/0.4668, allocations: 185.1 kB / 0.7784 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.4669, allocations: 116.8 kB / 0.7785 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.4669, allocations: 120.8 kB / 0.7786 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.968e-05/0.467, allocations: 180.3 kB / 0.7788 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.443e-05/0.467, allocations: 180.3 kB / 0.779 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.275e-05/0.4671, allocations: 184.2 kB / 0.7791 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.4673, allocations: 421.2 kB / 0.7795 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.4674, allocations: 108.9 kB / 0.7796 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.4674, allocations: 105 kB / 0.7797 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.765e-05/0.4675, allocations: 176.3 kB / 0.7799 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.4675, allocations: 180.2 kB / 0.7801 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-05/0.4676, allocations: 184.2 kB / 0.7803 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-05/0.4677, allocations: 180.2 kB / 0.7804 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4678, allocations: 303.8 kB / 0.7807 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.4679, allocations: 197.9 kB / 0.7809 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.468, allocations: 180.3 kB / 0.7811 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.468, allocations: 104.9 kB / 0.7812 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4681, allocations: 184.3 kB / 0.7814 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.4682, allocations: 101 kB / 0.7815 GB, free: 4.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.4682, allocations: 95.27 kB / 0.7815 GB, free: 4.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4682, allocations: 3.938 kB / 0.7815 GB, free: 4.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000665/0.4689, allocations: 279.8 kB / 0.7818 GB, free: 3.77 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009427/0.4698, allocations: 0.5214 MB / 0.7823 GB, free: 3.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.404e-05/0.4699, allocations: 37.7 kB / 0.7824 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.47, allocations: 0 / 0.7824 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.47, allocations: 0 / 0.7824 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.4704, allocations: 467.6 kB / 0.7828 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.4707, allocations: 244 kB / 0.783 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.4709, allocations: 0.6846 MB / 0.7837 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.282e-05/0.4709, allocations: 3.938 kB / 0.7837 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-06/0.471, allocations: 7.438 kB / 0.7837 GB, free: 1.746 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.471, allocations: 0 / 0.7837 GB, free: 1.746 MB / 0.545 GB Notification: Performance of Templates: time 0.008643/0.4796, allocations: 5.451 MB / 0.789 GB, free: 12.35 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)