Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7919/0.7919, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 194.1 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 447.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009832, allocations: 103.7 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 276.8 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 91.84 kB / 0.6886 GB, free: 3.766 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3281, allocations: 81.29 MB / 0.768 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002144/0.3303, allocations: 1.494 MB / 0.7694 GB, free: 26.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.3336, allocations: 3.058 MB / 0.7724 GB, free: 23.08 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.3336, allocations: 0 / 0.7724 GB, free: 23.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.3337, allocations: 0 / 0.7724 GB, free: 23.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.3337, allocations: 19.84 kB / 0.7724 GB, free: 23.06 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.3367, allocations: 1.459 MB / 0.7739 GB, free: 21.63 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.3368, allocations: 43.73 kB / 0.7739 GB, free: 21.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.039e-05/0.3368, allocations: 4 kB / 0.7739 GB, free: 21.58 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.3368, allocations: 11.94 kB / 0.7739 GB, free: 21.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.3369, allocations: 23.84 kB / 0.774 GB, free: 21.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.3369, allocations: 0 / 0.774 GB, free: 21.55 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3384, allocations: 1.482 MB / 0.7754 GB, free: 20.06 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.3385, allocations: 7.938 kB / 0.7754 GB, free: 20.05 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.3385, allocations: 19.88 kB / 0.7754 GB, free: 20.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3396, allocations: 1.135 MB / 0.7765 GB, free: 18.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3396, allocations: 0 / 0.7765 GB, free: 18.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3396, allocations: 3.984 kB / 0.7765 GB, free: 18.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3396, allocations: 0 / 0.7765 GB, free: 18.89 MB / 458.7 MB 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.0004176/0.34, allocations: 0.5185 MB / 0.777 GB, free: 18.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.3401, allocations: 8.031 kB / 0.7771 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3401, allocations: 84.22 kB / 0.7771 GB, free: 18.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/0.3402, allocations: 255.5 kB / 0.7774 GB, free: 17.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3402, allocations: 154.9 kB / 0.7775 GB, free: 17.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3403, allocations: 154.9 kB / 0.7777 GB, free: 17.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.6e-05/0.3403, allocations: 113 kB / 0.7778 GB, free: 17.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3403, allocations: 75.28 kB / 0.7778 GB, free: 17.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3403, allocations: 158.5 kB / 0.778 GB, free: 17.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3404, allocations: 154.6 kB / 0.7781 GB, free: 17.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.3404, allocations: 150.6 kB / 0.7783 GB, free: 17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.3406, allocations: 465.8 kB / 0.7787 GB, free: 16.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.3406, allocations: 165.1 kB / 0.7789 GB, free: 16.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.3406, allocations: 84.14 kB / 0.779 GB, free: 16.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3406, allocations: 83.22 kB / 0.7791 GB, free: 16.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3407, allocations: 113.8 kB / 0.7792 GB, free: 16.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3407, allocations: 0 / 0.7792 GB, free: 16.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.322e-05/0.3407, allocations: 29.75 kB / 0.7792 GB, free: 16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.3408, allocations: 126.7 kB / 0.7793 GB, free: 15.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.3409, allocations: 147 kB / 0.7795 GB, free: 15.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.3409, allocations: 25.7 kB / 0.7795 GB, free: 15.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.3409, allocations: 88.14 kB / 0.7796 GB, free: 15.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.3409, allocations: 0 / 0.7796 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.341, allocations: 17.72 kB / 0.7796 GB, free: 15.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.341, allocations: 314.8 kB / 0.7799 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.341, allocations: 8 kB / 0.7799 GB, free: 15.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.3411, allocations: 11.88 kB / 0.7799 GB, free: 15.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.3411, allocations: 20.89 kB / 0.7799 GB, free: 15.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3411, allocations: 0 / 0.7799 GB, free: 15.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.089e-05/0.3412, allocations: 53.53 kB / 0.78 GB, free: 15.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3412, allocations: 8 kB / 0.78 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.3412, allocations: 0 / 0.78 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3412, allocations: 4 kB / 0.78 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3413, allocations: 0 / 0.78 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3413, allocations: 0 / 0.78 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.3413, allocations: 0 / 0.78 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3413, allocations: 0 / 0.78 GB, free: 15.13 MB / 458.7 MB 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 5.038e-05/0.3413, allocations: 189.7 kB / 0.7802 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3414, allocations: 120.8 kB / 0.7803 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.3414, allocations: 112.6 kB / 0.7804 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3414, allocations: 180.2 kB / 0.7806 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/0.3415, allocations: 176.3 kB / 0.7807 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.3415, allocations: 192.2 kB / 0.7809 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3416, allocations: 413.2 kB / 0.7813 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.3416, allocations: 108.9 kB / 0.7814 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.3416, allocations: 104.9 kB / 0.7815 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.051e-05/0.3417, allocations: 176.3 kB / 0.7817 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.3417, allocations: 180.4 kB / 0.7818 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/0.3417, allocations: 200.2 kB / 0.782 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-05/0.3417, allocations: 176.3 kB / 0.7822 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3419, allocations: 0.8647 MB / 0.783 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.342, allocations: 190 kB / 0.7832 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.342, allocations: 180.2 kB / 0.7834 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.3421, allocations: 101 kB / 0.7835 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3421, allocations: 180.3 kB / 0.7837 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3421, allocations: 112.9 kB / 0.7838 GB, free: 10.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.3421, allocations: 96.52 kB / 0.7839 GB, free: 10.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3421, allocations: 0 / 0.7839 GB, free: 10.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006361/0.3428, allocations: 299.7 kB / 0.7842 GB, free: 10.59 MB / 458.7 MB 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.0009241/0.3437, allocations: 0.5577 MB / 0.7847 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.691e-05/0.3438, allocations: 45.7 kB / 0.7847 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3438, allocations: 0 / 0.7847 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3438, allocations: 0 / 0.7847 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3441, allocations: 0.5331 MB / 0.7853 GB, free: 9.449 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.3443, allocations: 249.9 kB / 0.7855 GB, free: 9.176 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.923e-05/0.3444, allocations: 0.6848 MB / 0.7862 GB, free: 8.465 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.132e-05/0.3445, allocations: 0 / 0.7862 GB, free: 8.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-06/0.3445, allocations: 11.44 kB / 0.7862 GB, free: 8.453 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3445, allocations: 4 kB / 0.7862 GB, free: 8.449 MB / 458.7 MB Notification: Performance of Templates: time 0.007196/0.3517, allocations: 5.784 MB / 0.7918 GB, free: 2.707 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)