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.00168/0.00168, allocations: 103.2 kB / 16.41 MB, free: 6.5 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.001972/0.001973, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.454/1.454, 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.002298/0.002298, allocations: 292.3 kB / 291.5 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.9921/0.9921, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 99.83 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5272, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002713/0.5299, allocations: 1.366 MB / 0.7685 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.5329, allocations: 1.796 MB / 0.7702 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.533, allocations: 3.938 kB / 0.7702 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.5331, allocations: 7.984 kB / 0.7702 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.5333, allocations: 27.83 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.5359, allocations: 1.144 MB / 0.7714 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.5361, allocations: 43.73 kB / 0.7714 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.5361, allocations: 11.97 kB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.5362, allocations: 23.86 kB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.5363, allocations: 23.92 kB / 0.7715 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.5363, allocations: 0 / 0.7715 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5375, allocations: 0.8891 MB / 0.7723 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.5375, allocations: 31.91 kB / 0.7724 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.5376, allocations: 19.81 kB / 0.7724 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009106/0.5385, allocations: 0.8013 MB / 0.7732 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5385, allocations: 0 / 0.7732 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5385, allocations: 0 / 0.7732 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5385, allocations: 0 / 0.7732 GB, free: 13.75 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.0005523/0.5391, allocations: 481.6 kB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5391, allocations: 8.031 kB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.5392, allocations: 8.844 kB / 0.7736 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.5393, allocations: 194.7 kB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.5394, allocations: 4.375 kB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5394, allocations: 3.938 kB / 0.7738 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.5395, allocations: 53.67 kB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.5395, allocations: 0 / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.5395, allocations: 0 / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5395, allocations: 4 kB / 0.7739 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.5396, allocations: 23.98 kB / 0.7739 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.5398, allocations: 193.7 kB / 0.7741 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.431e-05/0.5398, allocations: 58.44 kB / 0.7741 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.5399, allocations: 32.88 kB / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5399, allocations: 0 / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.5399, allocations: 34.56 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.5399, allocations: 0 / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002013/0.5401, allocations: 113.6 kB / 0.7743 GB, free: 12.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5402, allocations: 55.38 kB / 0.7744 GB, free: 12.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5403, allocations: 158.4 kB / 0.7745 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5404, allocations: 29.64 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.5404, allocations: 100.1 kB / 0.7746 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.5405, allocations: 27.55 kB / 0.7747 GB, free: 12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.5405, allocations: 17.72 kB / 0.7747 GB, free: 11.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5406, allocations: 326.8 kB / 0.775 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.5406, allocations: 19.94 kB / 0.775 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.5407, allocations: 27.98 kB / 0.7751 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.5408, allocations: 68.86 kB / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5408, allocations: 0 / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.5409, allocations: 93.72 kB / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5409, allocations: 4 kB / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5409, allocations: 7.938 kB / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5409, allocations: 0 / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.5409, allocations: 0 / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5409, allocations: 0 / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.541, allocations: 3.938 kB / 0.7752 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.541, allocations: 0 / 0.7752 GB, free: 11.41 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.745e-05/0.5411, allocations: 129.8 kB / 0.7753 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.5411, allocations: 11.81 kB / 0.7754 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.5413, allocations: 102.4 kB / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5413, allocations: 4 kB / 0.7755 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5413, allocations: 0 / 0.7755 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5413, allocations: 0 / 0.7755 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.5414, allocations: 193.6 kB / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5414, allocations: 0 / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.5414, allocations: 0 / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5415, allocations: 4.031 kB / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.5415, allocations: 0 / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5415, allocations: 7.922 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5415, allocations: 4 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.5416, allocations: 121.2 kB / 0.7758 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.5417, allocations: 88.86 kB / 0.7759 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5417, allocations: 4 kB / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.5417, allocations: 0 / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.5417, allocations: 4.031 kB / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5417, allocations: 3.938 kB / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.5418, allocations: 123.7 kB / 0.776 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5418, allocations: 0 / 0.776 GB, free: 10.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005279/0.5424, allocations: 203.9 kB / 0.7762 GB, free: 10.33 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.0007617/0.5431, allocations: 346.1 kB / 0.7765 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.5433, allocations: 93.61 kB / 0.7766 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5433, allocations: 0 / 0.7766 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.5434, allocations: 77.73 kB / 0.7767 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.5436, allocations: 4.5 kB / 0.7767 GB, free: 9.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.544, allocations: 253.2 kB / 0.7769 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.5443, allocations: 0.7041 MB / 0.7776 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.5444, allocations: 7.438 kB / 0.7776 GB, free: 8.781 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5444, allocations: 3.938 kB / 0.7776 GB, free: 8.777 MB / 0.545 GB Notification: Performance of Templates: time 0.008085/0.5525, allocations: 3.989 MB / 0.7815 GB, free: 4.797 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)