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.001284/0.001284, allocations: 107.7 kB / 16.41 MB, free: 6.453 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.00131/0.00131, allocations: 192 kB / 17.34 MB, free: 5.711 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 291.1 kB / 291.5 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 99.83 kB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.421, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002456/0.4235, allocations: 1.37 MB / 0.7685 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.4265, allocations: 1.8 MB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.4266, allocations: 0 / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.4267, allocations: 11.92 kB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.4268, allocations: 27.83 kB / 0.7703 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.4298, allocations: 1.136 MB / 0.7714 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.4299, allocations: 51.72 kB / 0.7714 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.43, allocations: 7.984 kB / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.43, allocations: 8 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.4301, allocations: 35.78 kB / 0.7715 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.4301, allocations: 0 / 0.7715 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.4315, allocations: 0.893 MB / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.4316, allocations: 31.91 kB / 0.7724 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.4316, allocations: 19.81 kB / 0.7724 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4328, allocations: 0.8008 MB / 0.7732 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4328, allocations: 0 / 0.7732 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4328, allocations: 0 / 0.7732 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4328, allocations: 3.938 kB / 0.7732 GB, free: 13.7 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.0006539/0.4334, allocations: 485.9 kB / 0.7736 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4335, allocations: 12.03 kB / 0.7737 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.4335, allocations: 12.89 kB / 0.7737 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.4337, allocations: 197.5 kB / 0.7739 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-06/0.4337, allocations: 384 / 0.7739 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4337, allocations: 3.938 kB / 0.7739 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.4339, allocations: 57.61 kB / 0.7739 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4339, allocations: 3.984 kB / 0.7739 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4339, allocations: 4 kB / 0.7739 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4339, allocations: 0 / 0.7739 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.4339, allocations: 23.98 kB / 0.7739 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.4342, allocations: 189.7 kB / 0.7741 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.4342, allocations: 46.5 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.4343, allocations: 32.88 kB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4343, allocations: 7.875 kB / 0.7742 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4343, allocations: 30.56 kB / 0.7742 GB, free: 12.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.4343, allocations: 0 / 0.7742 GB, free: 12.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000231/0.4346, allocations: 113.6 kB / 0.7743 GB, free: 12.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.4346, allocations: 55.44 kB / 0.7744 GB, free: 12.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4348, allocations: 154.2 kB / 0.7745 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4348, allocations: 33.7 kB / 0.7746 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.4348, allocations: 96.12 kB / 0.7747 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.4349, allocations: 23.75 kB / 0.7747 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.4349, allocations: 21.7 kB / 0.7747 GB, free: 11.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4351, allocations: 326.8 kB / 0.775 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.4351, allocations: 20.16 kB / 0.775 GB, free: 11.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.4352, allocations: 39.91 kB / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.4353, allocations: 60.83 kB / 0.7751 GB, free: 11.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4353, allocations: 0 / 0.7751 GB, free: 11.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.4354, allocations: 97.58 kB / 0.7752 GB, free: 11.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4354, allocations: 4 kB / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4354, allocations: 0 / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4354, allocations: 4 kB / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.4354, allocations: 0 / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4354, allocations: 0 / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.4355, allocations: 0 / 0.7752 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.4355, allocations: 4.062 kB / 0.7752 GB, free: 11.36 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 0.0001123/0.4356, allocations: 125.8 kB / 0.7754 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.4356, allocations: 7.953 kB / 0.7754 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.4358, allocations: 110.3 kB / 0.7755 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4358, allocations: 4 kB / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4358, allocations: 7.938 kB / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4358, allocations: 0 / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.4359, allocations: 193.5 kB / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.436, allocations: 0 / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.436, allocations: 4.031 kB / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.436, allocations: 0 / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.436, allocations: 0 / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.436, allocations: 0 / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.436, allocations: 3.938 kB / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.4361, allocations: 128.9 kB / 0.7758 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.4362, allocations: 85.06 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4362, allocations: 4 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.4362, allocations: 4.031 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.4362, allocations: 0 / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.4362, allocations: 0 / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.4363, allocations: 119.2 kB / 0.776 GB, free: 10.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.4363, allocations: 0 / 0.776 GB, free: 10.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005775/0.4369, allocations: 203.4 kB / 0.7762 GB, free: 10.27 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.0007536/0.4377, allocations: 338.1 kB / 0.7765 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4378, allocations: 93.67 kB / 0.7766 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4378, allocations: 4.062 kB / 0.7766 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.4379, allocations: 73.55 kB / 0.7767 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.4381, allocations: 8.797 kB / 0.7767 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.4385, allocations: 231.5 kB / 0.7769 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4389, allocations: 0.7041 MB / 0.7776 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.4389, allocations: 3.984 kB / 0.7776 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.4389, allocations: 11.5 kB / 0.7776 GB, free: 8.746 MB / 0.545 GB Notification: Performance of SimCode: time 4.9e-07/0.4389, allocations: 0 / 0.7776 GB, free: 8.746 MB / 0.545 GB Notification: Performance of Templates: time 0.009535/0.4485, allocations: 4.334 MB / 0.7818 GB, free: 4.473 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)