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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005528/0.005528, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001336/0.001336, allocations: 195.7 kB / 16.67 MB, free: 5.52 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 294.9 kB / 290.8 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.9286/0.9286, allocations: 169.2 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 103.8 kB / 0.6815 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3736, allocations: 86.97 MB / 0.7665 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002112/0.3758, allocations: 1.365 MB / 0.7678 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3783, allocations: 1.796 MB / 0.7695 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.3783, allocations: 4 kB / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.406e-05/0.3784, allocations: 7.922 kB / 0.7696 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3786, allocations: 23.91 kB / 0.7696 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.381, allocations: 1.147 MB / 0.7707 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.3811, allocations: 47.78 kB / 0.7707 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.3811, allocations: 3.984 kB / 0.7707 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.3812, allocations: 19.92 kB / 0.7708 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.3813, allocations: 27.86 kB / 0.7708 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3813, allocations: 4 kB / 0.7708 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.3824, allocations: 0.8891 MB / 0.7717 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.3825, allocations: 31.91 kB / 0.7717 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.3825, allocations: 23.75 kB / 0.7717 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.3834, allocations: 0.7896 MB / 0.7725 GB, free: 13.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3834, allocations: 4 kB / 0.7725 GB, free: 13.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3834, allocations: 0 / 0.7725 GB, free: 13.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3834, allocations: 3.938 kB / 0.7725 GB, free: 13.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004868/0.3839, allocations: 478.8 kB / 0.773 GB, free: 13.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3839, allocations: 12.03 kB / 0.773 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.384, allocations: 12.84 kB / 0.773 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3841, allocations: 194.5 kB / 0.7732 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.3841, allocations: 384 / 0.7732 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3842, allocations: 3.938 kB / 0.7732 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.597e-05/0.3843, allocations: 49.69 kB / 0.7732 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3843, allocations: 0 / 0.7732 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3843, allocations: 0 / 0.7732 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3843, allocations: 0 / 0.7732 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.46e-05/0.3843, allocations: 31.92 kB / 0.7732 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.3845, allocations: 189.7 kB / 0.7734 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.3846, allocations: 50.5 kB / 0.7735 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.3846, allocations: 36.88 kB / 0.7735 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3846, allocations: 4 kB / 0.7735 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3847, allocations: 34.5 kB / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3847, allocations: 0 / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0001974/0.3849, allocations: 117.5 kB / 0.7737 GB, free: 12.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3849, allocations: 55.44 kB / 0.7737 GB, free: 12.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3851, allocations: 152.5 kB / 0.7739 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3851, allocations: 25.7 kB / 0.7739 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3851, allocations: 104.1 kB / 0.774 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3852, allocations: 31.69 kB / 0.774 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.3852, allocations: 17.72 kB / 0.774 GB, free: 12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3853, allocations: 326.8 kB / 0.7743 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.3854, allocations: 20 kB / 0.7744 GB, free: 11.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.3854, allocations: 27.98 kB / 0.7744 GB, free: 11.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.756e-05/0.3855, allocations: 64.83 kB / 0.7744 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3855, allocations: 4 kB / 0.7745 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.3856, allocations: 89.52 kB / 0.7745 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3856, allocations: 8 kB / 0.7745 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3856, allocations: 0 / 0.7745 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3856, allocations: 0 / 0.7745 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.3857, allocations: 4 kB / 0.7745 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3857, allocations: 0 / 0.7745 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.3857, allocations: 7.938 kB / 0.7746 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3857, allocations: 4.062 kB / 0.7746 GB, free: 11.43 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.798e-05/0.3858, allocations: 125.8 kB / 0.7747 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.3858, allocations: 11.81 kB / 0.7747 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.386, allocations: 113.4 kB / 0.7748 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.386, allocations: 0 / 0.7748 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.386, allocations: 0 / 0.7748 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.386, allocations: 0 / 0.7748 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.3861, allocations: 189.6 kB / 0.775 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3861, allocations: 0 / 0.775 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3861, allocations: 4.031 kB / 0.775 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3862, allocations: 4 kB / 0.775 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.3862, allocations: 0 / 0.775 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.3862, allocations: 3.984 kB / 0.775 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3862, allocations: 320 / 0.775 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.3863, allocations: 124.9 kB / 0.7751 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3863, allocations: 92.86 kB / 0.7752 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3864, allocations: 0 / 0.7752 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.3864, allocations: 4.031 kB / 0.7752 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.3864, allocations: 0 / 0.7752 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3864, allocations: 4 kB / 0.7752 GB, free: 10.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.987e-05/0.3865, allocations: 119.2 kB / 0.7753 GB, free: 10.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.653e-06/0.3865, allocations: 7.875 kB / 0.7753 GB, free: 10.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004735/0.387, allocations: 207.8 kB / 0.7755 GB, free: 10.34 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 (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.0006237/0.3876, allocations: 333.2 kB / 0.7758 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3878, allocations: 93.67 kB / 0.7759 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3878, allocations: 4.062 kB / 0.7759 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/0.3878, allocations: 69.67 kB / 0.776 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.388, allocations: 12.48 kB / 0.776 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.3884, allocations: 219.6 kB / 0.7762 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3886, allocations: 0.7079 MB / 0.7769 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.3886, allocations: 4 kB / 0.7769 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.3887, allocations: 11.5 kB / 0.7769 GB, free: 8.832 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/0.3887, allocations: 0 / 0.7769 GB, free: 8.832 MB / 0.545 GB Notification: Performance of Templates: time 0.00696/0.3956, allocations: 4.316 MB / 0.7811 GB, free: 4.57 MB / 0.545 GB 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)