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.002156/0.002156, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.002062/0.002062, allocations: 189.7 kB / 17.35 MB, free: 5.715 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.408/1.408, allocations: 222.9 MB / 241 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.002289/0.002289, allocations: 285.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9652/0.9652, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 99.84 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5505, allocations: 86.98 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002439/0.5529, allocations: 1.416 MB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004183/0.5571, allocations: 2.854 MB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.5572, allocations: 0 / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.5572, allocations: 3.938 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.5573, allocations: 19.84 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.5608, allocations: 1.551 MB / 0.7728 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.894e-05/0.5609, allocations: 47.67 kB / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.561, allocations: 4 kB / 0.7729 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.561, allocations: 15.92 kB / 0.7729 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.5611, allocations: 15.88 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.5611, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.5631, allocations: 1.49 MB / 0.7744 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.5632, allocations: 3.938 kB / 0.7744 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.5632, allocations: 19.88 kB / 0.7744 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.5644, allocations: 1.071 MB / 0.7754 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5645, allocations: 3.984 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5645, allocations: 0 / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5645, allocations: 4 kB / 0.7755 GB, free: 11.36 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.0005377/0.565, allocations: 0.5185 MB / 0.776 GB, free: 10.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5651, allocations: 8.031 kB / 0.776 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.5651, allocations: 80.22 kB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5653, allocations: 255.4 kB / 0.7763 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.5654, allocations: 150.9 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.5654, allocations: 154.9 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.5655, allocations: 113 kB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.5655, allocations: 75.28 kB / 0.7768 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.5656, allocations: 150.6 kB / 0.7769 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.5656, allocations: 150.6 kB / 0.777 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.5657, allocations: 154.6 kB / 0.7772 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.566, allocations: 461.9 kB / 0.7776 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.5661, allocations: 177.1 kB / 0.7778 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.5661, allocations: 80.14 kB / 0.7779 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5661, allocations: 75.28 kB / 0.7779 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.5662, allocations: 113.8 kB / 0.7781 GB, free: 8.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5662, allocations: 0 / 0.7781 GB, free: 8.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.752e-05/0.5663, allocations: 29.7 kB / 0.7781 GB, free: 8.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.5663, allocations: 126.7 kB / 0.7782 GB, free: 8.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.5665, allocations: 140.6 kB / 0.7783 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.5665, allocations: 25.7 kB / 0.7784 GB, free: 8.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.5665, allocations: 92.12 kB / 0.7785 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.5665, allocations: 0 / 0.7785 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.5666, allocations: 21.72 kB / 0.7785 GB, free: 8.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5667, allocations: 318.8 kB / 0.7788 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.5667, allocations: 4 kB / 0.7788 GB, free: 7.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.5667, allocations: 4.031 kB / 0.7788 GB, free: 7.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.5668, allocations: 8.859 kB / 0.7788 GB, free: 7.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5668, allocations: 0 / 0.7788 GB, free: 7.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000122/0.5669, allocations: 61.56 kB / 0.7789 GB, free: 7.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5669, allocations: 7.938 kB / 0.7789 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.567, allocations: 8.062 kB / 0.7789 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.567, allocations: 3.938 kB / 0.7789 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.567, allocations: 3.938 kB / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.567, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.567, allocations: 0 / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.567, allocations: 4 kB / 0.7789 GB, free: 7.613 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 8.797e-05/0.5671, allocations: 185.1 kB / 0.7791 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.5672, allocations: 116.8 kB / 0.7792 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.5672, allocations: 116.8 kB / 0.7793 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/0.5673, allocations: 184.3 kB / 0.7795 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.687e-05/0.5674, allocations: 180.3 kB / 0.7796 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.477e-05/0.5674, allocations: 184.2 kB / 0.7798 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.5677, allocations: 413.2 kB / 0.7802 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/0.5677, allocations: 112.9 kB / 0.7803 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.5677, allocations: 101 kB / 0.7804 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.953e-05/0.5678, allocations: 176.3 kB / 0.7806 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.5679, allocations: 188.2 kB / 0.7807 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.748e-05/0.5679, allocations: 180.2 kB / 0.7809 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.367e-05/0.568, allocations: 180.2 kB / 0.7811 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.5681, allocations: 303.8 kB / 0.7814 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.5682, allocations: 197.9 kB / 0.7816 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.5683, allocations: 176.3 kB / 0.7817 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.5684, allocations: 104.9 kB / 0.7818 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.5684, allocations: 184.3 kB / 0.782 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.5685, allocations: 101 kB / 0.7821 GB, free: 4.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.5685, allocations: 103.2 kB / 0.7822 GB, free: 3.977 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.763e-06/0.5685, allocations: 0 / 0.7822 GB, free: 3.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006015/0.5691, allocations: 275.7 kB / 0.7825 GB, free: 3.707 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.000938/0.5701, allocations: 0.5259 MB / 0.783 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.476e-05/0.5702, allocations: 37.7 kB / 0.783 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5702, allocations: 0 / 0.783 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.5702, allocations: 0 / 0.783 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.5706, allocations: 465.5 kB / 0.7835 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.5709, allocations: 273.7 kB / 0.7837 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.5711, allocations: 0.6846 MB / 0.7844 GB, free: 1.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.005e-05/0.5712, allocations: 7.438 kB / 0.7844 GB, free: 1.652 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5712, allocations: 0 / 0.7844 GB, free: 1.652 MB / 0.545 GB Notification: Performance of Templates: time 0.00678/0.5779, allocations: 4.631 MB / 0.7889 GB, free: 13.02 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)