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.001218/0.001218, allocations: 106.4 kB / 16.41 MB, free: 6.512 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.001197/0.001197, allocations: 189.7 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002304/0.002304, allocations: 291.2 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.9595/0.9595, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00301/0.003011, allocations: 91.86 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5319, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002732/0.5347, allocations: 1.358 MB / 0.7685 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.5377, allocations: 1.8 MB / 0.7702 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.5378, allocations: 0 / 0.7702 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.782e-05/0.5379, allocations: 11.92 kB / 0.7702 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.5381, allocations: 27.84 kB / 0.7703 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.5411, allocations: 1.133 MB / 0.7714 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.5412, allocations: 51.72 kB / 0.7714 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.5412, allocations: 4 kB / 0.7714 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.5413, allocations: 19.97 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.5414, allocations: 31.73 kB / 0.7715 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.5414, allocations: 8 kB / 0.7715 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.5428, allocations: 0.8852 MB / 0.7723 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.5429, allocations: 27.92 kB / 0.7724 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.5429, allocations: 23.8 kB / 0.7724 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5442, allocations: 0.8013 MB / 0.7732 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5442, allocations: 0 / 0.7732 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5442, allocations: 0 / 0.7732 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.5442, 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.0006736/0.5449, allocations: 478.8 kB / 0.7736 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5449, allocations: 12.03 kB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.545, allocations: 8.844 kB / 0.7736 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.5452, allocations: 194.4 kB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.5452, allocations: 384 / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.5452, allocations: 3.938 kB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.5453, allocations: 53.62 kB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5453, allocations: 0 / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5453, allocations: 4 kB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5453, allocations: 0 / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.5454, allocations: 23.98 kB / 0.7739 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.5456, allocations: 193.7 kB / 0.7741 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.5457, allocations: 50.5 kB / 0.7741 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.5457, allocations: 36.88 kB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5458, allocations: 0 / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5458, allocations: 38.48 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5458, allocations: 0 / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002172/0.546, allocations: 113.6 kB / 0.7743 GB, free: 12.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.546, allocations: 55.41 kB / 0.7744 GB, free: 12.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5462, allocations: 152.3 kB / 0.7745 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.5462, allocations: 25.7 kB / 0.7745 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.5463, allocations: 100.1 kB / 0.7746 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.5463, allocations: 31.64 kB / 0.7747 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.5464, allocations: 21.7 kB / 0.7747 GB, free: 11.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5465, allocations: 322.8 kB / 0.775 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.5465, allocations: 31.98 kB / 0.775 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.5466, allocations: 23.98 kB / 0.7751 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.358e-05/0.5466, allocations: 68.77 kB / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.5466, allocations: 0 / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.5468, allocations: 85.59 kB / 0.7752 GB, free: 11.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5468, allocations: 7.984 kB / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5468, allocations: 0 / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5468, allocations: 0 / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.5468, allocations: 7.938 kB / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5468, allocations: 0 / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.5469, allocations: 8 kB / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.5469, allocations: 0 / 0.7752 GB, free: 11.42 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 9.08e-05/0.547, allocations: 129.8 kB / 0.7753 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.547, allocations: 11.81 kB / 0.7754 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.5472, allocations: 102.3 kB / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5472, allocations: 0 / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5472, allocations: 0 / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.5472, allocations: 7.984 kB / 0.7755 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.5473, allocations: 185.6 kB / 0.7756 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5474, allocations: 8.031 kB / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.5474, allocations: 0 / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5474, allocations: 0 / 0.7756 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.5474, allocations: 4 kB / 0.7757 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5474, allocations: 0 / 0.7757 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5474, allocations: 0 / 0.7757 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.5475, allocations: 133.2 kB / 0.7758 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.5476, allocations: 92.84 kB / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.5476, allocations: 0 / 0.7759 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.5476, allocations: 8.031 kB / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.5477, allocations: 0 / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.5477, allocations: 0 / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.177e-05/0.5477, allocations: 121.6 kB / 0.776 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5478, allocations: 3.938 kB / 0.776 GB, free: 10.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005831/0.5483, allocations: 203.9 kB / 0.7762 GB, free: 10.32 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.0008725/0.5492, allocations: 330.9 kB / 0.7765 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.5494, allocations: 97.67 kB / 0.7766 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5494, allocations: 0 / 0.7766 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.24e-05/0.5495, allocations: 69.69 kB / 0.7767 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5497, allocations: 12.48 kB / 0.7767 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.5501, allocations: 249.2 kB / 0.7769 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.5503, allocations: 0.708 MB / 0.7776 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.5504, allocations: 7.438 kB / 0.7776 GB, free: 8.789 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5504, allocations: 4.125 kB / 0.7776 GB, free: 8.785 MB / 0.545 GB Notification: Performance of Templates: time 0.007211/0.5576, allocations: 3.983 MB / 0.7815 GB, free: 4.812 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)