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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.0013/0.0013, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002617/0.002617, allocations: 291.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 99.83 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4303, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002551/0.4328, allocations: 1.362 MB / 0.7685 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.4358, allocations: 1.808 MB / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.4359, allocations: 0 / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.352e-05/0.436, allocations: 11.92 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.4361, allocations: 35.81 kB / 0.7703 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.4389, allocations: 1.137 MB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.439, allocations: 47.73 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.439, allocations: 4 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.4391, allocations: 31.84 kB / 0.7715 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.4392, allocations: 35.83 kB / 0.7715 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.4392, allocations: 0 / 0.7715 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.4404, allocations: 0.8813 MB / 0.7724 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.4405, allocations: 71.81 kB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.4406, allocations: 67.36 kB / 0.7725 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.4417, allocations: 0.8819 MB / 0.7734 GB, free: 13.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4417, allocations: 0 / 0.7734 GB, free: 13.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4417, allocations: 0 / 0.7734 GB, free: 13.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4418, allocations: 0 / 0.7734 GB, free: 13.52 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008091/0.4426, allocations: 0.5946 MB / 0.7739 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4426, allocations: 15.97 kB / 0.774 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.4427, allocations: 24.75 kB / 0.774 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4429, allocations: 222.9 kB / 0.7742 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4429, allocations: 8.375 kB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.443, allocations: 384 / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4431, allocations: 105.8 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4431, allocations: 4 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4431, allocations: 4 kB / 0.7743 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4432, allocations: 0 / 0.7743 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.4433, allocations: 75.91 kB / 0.7744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.4436, allocations: 277.9 kB / 0.7746 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4437, allocations: 102.5 kB / 0.7747 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.4438, allocations: 80.86 kB / 0.7748 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.4438, allocations: 3.938 kB / 0.7748 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4439, allocations: 30.56 kB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/0.4439, allocations: 0 / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0004656/0.4443, allocations: 343.7 kB / 0.7752 GB, free: 11.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.4444, allocations: 51.41 kB / 0.7752 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.4447, allocations: 261 kB / 0.7755 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4447, allocations: 25.7 kB / 0.7755 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4448, allocations: 128.7 kB / 0.7756 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4449, allocations: 103.1 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.445, allocations: 29.7 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4451, allocations: 342.8 kB / 0.7761 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.4452, allocations: 75.97 kB / 0.7762 GB, free: 10.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.4453, allocations: 75.95 kB / 0.7762 GB, free: 10.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.4455, allocations: 200.8 kB / 0.7764 GB, free: 10.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4455, allocations: 3.938 kB / 0.7764 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002632/0.4458, allocations: 225.6 kB / 0.7766 GB, free: 9.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4458, allocations: 4 kB / 0.7766 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.4458, allocations: 4 kB / 0.7766 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4458, allocations: 3.938 kB / 0.7766 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4458, allocations: 0 / 0.7766 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4458, allocations: 3.984 kB / 0.7766 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.4459, allocations: 15.89 kB / 0.7767 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4459, allocations: 3.938 kB / 0.7767 GB, free: 9.906 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.0001584/0.4461, allocations: 165.8 kB / 0.7768 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.4461, allocations: 27.75 kB / 0.7769 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.4464, allocations: 252.4 kB / 0.7771 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4464, allocations: 0 / 0.7771 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4464, allocations: 0 / 0.7771 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4464, allocations: 0 / 0.7771 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.4467, allocations: 285.9 kB / 0.7774 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4467, allocations: 7.938 kB / 0.7774 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.4467, allocations: 0 / 0.7774 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4467, allocations: 0 / 0.7774 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.4467, allocations: 4.031 kB / 0.7774 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4467, allocations: 0 / 0.7774 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.4467, allocations: 0 / 0.7774 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.447, allocations: 252.9 kB / 0.7776 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.4471, allocations: 108.8 kB / 0.7777 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4471, allocations: 0 / 0.7777 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.4471, allocations: 4 kB / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.4471, allocations: 7.938 kB / 0.7777 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.4471, allocations: 4.031 kB / 0.7777 GB, free: 8.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001828/0.4473, allocations: 188.4 kB / 0.7779 GB, free: 8.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4473, allocations: 0 / 0.7779 GB, free: 8.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006542/0.448, allocations: 215.4 kB / 0.7781 GB, free: 8.312 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.0007875/0.4488, allocations: 339 kB / 0.7784 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.4491, allocations: 237.6 kB / 0.7787 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4491, allocations: 0 / 0.7787 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4492, allocations: 153.7 kB / 0.7788 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.4495, allocations: 17 kB / 0.7788 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.4502, allocations: 0.4976 MB / 0.7793 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.4507, allocations: 0.7632 MB / 0.7801 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.4507, allocations: 4 kB / 0.7801 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.4507, allocations: 7.438 kB / 0.7801 GB, free: 6.223 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4507, allocations: 8.062 kB / 0.7801 GB, free: 6.215 MB / 0.545 GB Notification: Performance of Templates: time 0.009821/0.4605, allocations: 4.659 MB / 0.7846 GB, free: 1.621 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)