Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8084/0.8084, allocations: 143.4 MB / 159.2 MB, free: 4.883 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.001437/0.001437, allocations: 186.8 kB / 191.9 MB, free: 5.723 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.337/1.337, allocations: 222.9 MB / 447.3 MB, free: 5.836 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.0009699/0.0009698, allocations: 115.2 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.001834/0.001834, allocations: 292 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 79.88 kB / 0.6886 GB, free: 3.785 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3127, allocations: 81.3 MB / 0.768 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002034/0.3147, allocations: 1.423 MB / 0.7694 GB, free: 26.23 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3168, allocations: 1.838 MB / 0.7712 GB, free: 24.39 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.3169, allocations: 0 / 0.7712 GB, free: 24.39 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.363e-05/0.317, allocations: 15.92 kB / 0.7712 GB, free: 24.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3171, allocations: 19.91 kB / 0.7712 GB, free: 24.35 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.319, allocations: 1.065 MB / 0.7722 GB, free: 23.3 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.3191, allocations: 79.78 kB / 0.7723 GB, free: 23.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.3191, allocations: 4 kB / 0.7723 GB, free: 23.22 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.3192, allocations: 23.86 kB / 0.7723 GB, free: 23.2 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.3193, allocations: 27.91 kB / 0.7724 GB, free: 23.17 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.3193, allocations: 0 / 0.7724 GB, free: 23.17 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.3201, allocations: 0.8461 MB / 0.7732 GB, free: 22.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.3202, allocations: 27.91 kB / 0.7732 GB, free: 22.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.3202, allocations: 31.73 kB / 0.7733 GB, free: 22.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.3209, allocations: 0.8094 MB / 0.774 GB, free: 21.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3209, allocations: 0 / 0.774 GB, free: 21.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3209, allocations: 0 / 0.774 GB, free: 21.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3209, allocations: 0 / 0.774 GB, free: 21.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003807/0.3213, allocations: 482.9 kB / 0.7745 GB, free: 20.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3213, allocations: 12.03 kB / 0.7745 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.3214, allocations: 8.844 kB / 0.7745 GB, free: 20.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3215, allocations: 190 kB / 0.7747 GB, free: 20.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.3215, allocations: 384 / 0.7747 GB, free: 20.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.3215, allocations: 3.938 kB / 0.7747 GB, free: 20.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.3216, allocations: 53.69 kB / 0.7748 GB, free: 20.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3216, allocations: 0 / 0.7748 GB, free: 20.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.3216, allocations: 0 / 0.7748 GB, free: 20.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3216, allocations: 4 kB / 0.7748 GB, free: 20.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.3217, allocations: 27.94 kB / 0.7748 GB, free: 20.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.3218, allocations: 185.6 kB / 0.775 GB, free: 20.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.3219, allocations: 50.5 kB / 0.775 GB, free: 20.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.3219, allocations: 28.89 kB / 0.775 GB, free: 20.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3219, allocations: 4 kB / 0.775 GB, free: 20.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.3219, allocations: 38.55 kB / 0.7751 GB, free: 20.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3219, allocations: 0 / 0.7751 GB, free: 20.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001545/0.3221, allocations: 117.5 kB / 0.7752 GB, free: 20.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.3221, allocations: 51.41 kB / 0.7752 GB, free: 20.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.3222, allocations: 155.9 kB / 0.7754 GB, free: 19.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.3222, allocations: 25.7 kB / 0.7754 GB, free: 19.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.3223, allocations: 96.12 kB / 0.7755 GB, free: 19.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3223, allocations: 31.7 kB / 0.7755 GB, free: 19.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.3223, allocations: 17.7 kB / 0.7756 GB, free: 19.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.3224, allocations: 326.8 kB / 0.7759 GB, free: 19.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.3224, allocations: 27.98 kB / 0.7759 GB, free: 19.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.3224, allocations: 23.98 kB / 0.7759 GB, free: 19.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.3225, allocations: 64.83 kB / 0.776 GB, free: 19.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3225, allocations: 0 / 0.776 GB, free: 19.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.925e-05/0.3226, allocations: 89.53 kB / 0.7761 GB, free: 19.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3226, allocations: 9.719 kB / 0.7761 GB, free: 19.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3226, allocations: 3.984 kB / 0.7761 GB, free: 19.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3226, allocations: 0 / 0.7761 GB, free: 19.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.3227, allocations: 4.062 kB / 0.7761 GB, free: 19.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3227, allocations: 3.938 kB / 0.7761 GB, free: 19.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.3227, allocations: 7.938 kB / 0.7761 GB, free: 19.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3227, allocations: 0 / 0.7761 GB, free: 19.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.21e-05/0.3228, allocations: 125.8 kB / 0.7762 GB, free: 19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.3228, allocations: 11.84 kB / 0.7762 GB, free: 18.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3229, allocations: 108.7 kB / 0.7763 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3229, allocations: 0 / 0.7763 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3229, allocations: 4.031 kB / 0.7763 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.3229, allocations: 0 / 0.7763 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.857e-05/0.323, allocations: 197.6 kB / 0.7765 GB, free: 18.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.323, allocations: 0 / 0.7765 GB, free: 18.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.323, allocations: 0 / 0.7765 GB, free: 18.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.323, allocations: 4 kB / 0.7765 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.323, allocations: 0 / 0.7765 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.323, allocations: 0 / 0.7765 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3231, allocations: 0 / 0.7765 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3233, allocations: 0.7253 MB / 0.7772 GB, free: 17.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.3233, allocations: 92.98 kB / 0.7773 GB, free: 17.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3233, allocations: 0 / 0.7773 GB, free: 17.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.3234, allocations: 3.938 kB / 0.7773 GB, free: 17.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.3234, allocations: 0 / 0.7773 GB, free: 17.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3234, allocations: 0 / 0.7773 GB, free: 17.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.3234, allocations: 121.7 kB / 0.7774 GB, free: 17.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3234, allocations: 0 / 0.7774 GB, free: 17.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005035/0.324, allocations: 219.9 kB / 0.7777 GB, free: 17.39 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 (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.0005647/0.3245, allocations: 331.5 kB / 0.778 GB, free: 17.06 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.3246, allocations: 97.61 kB / 0.7781 GB, free: 16.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3247, allocations: 0 / 0.7781 GB, free: 16.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.3247, allocations: 65.69 kB / 0.7781 GB, free: 16.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.3249, allocations: 11.98 kB / 0.7781 GB, free: 16.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.3252, allocations: 374.8 kB / 0.7785 GB, free: 16.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3253, allocations: 0.7121 MB / 0.7792 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.3254, allocations: 4 kB / 0.7792 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-06/0.3254, allocations: 11.44 kB / 0.7792 GB, free: 15.72 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3254, allocations: 0 / 0.7792 GB, free: 15.72 MB / 458.7 MB Notification: Performance of Templates: time 0.005948/0.3313, allocations: 4.305 MB / 0.7834 GB, free: 11.48 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)