Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008894/0.0008894, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8682/0.8682, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002733, allocations: 12 kB / 0.5159 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1244, allocations: 83.42 MB / 0.5973 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001238/0.1257, allocations: 1.138 MB / 0.5984 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.129, allocations: 2.653 MB / 0.601 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.1291, allocations: 0 / 0.601 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1291, allocations: 3.984 kB / 0.601 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.1292, allocations: 11.86 kB / 0.601 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.1318, allocations: 1.25 MB / 0.6023 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.28e-05/0.1319, allocations: 43.73 kB / 0.6023 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.1319, allocations: 0 / 0.6023 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.1319, allocations: 15.92 kB / 0.6023 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.132, allocations: 15.88 kB / 0.6023 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.132, allocations: 8 kB / 0.6023 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.1336, allocations: 1.248 MB / 0.6036 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1336, allocations: 3.984 kB / 0.6036 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1336, allocations: 37.58 kB / 0.6036 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.1344, allocations: 0.706 MB / 0.6043 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1344, allocations: 0 / 0.6043 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1344, allocations: 0 / 0.6043 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1344, allocations: 0 / 0.6043 GB, free: 0.8633 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004925/0.1349, allocations: 0.5145 MB / 0.6048 GB, free: 308 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.135, allocations: 12.03 kB / 0.6048 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.135, allocations: 87.14 kB / 0.6049 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2156/0.3506, allocations: 244.5 kB / 0.6051 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.3506, allocations: 152.9 kB / 0.6053 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3507, allocations: 151.1 kB / 0.6054 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.725e-05/0.3507, allocations: 102.2 kB / 0.6055 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3507, allocations: 77.5 kB / 0.6056 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3508, allocations: 151.1 kB / 0.6057 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3508, allocations: 154.8 kB / 0.6059 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.3508, allocations: 161.5 kB / 0.606 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.351, allocations: 464.3 kB / 0.6065 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.351, allocations: 168.3 kB / 0.6066 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.351, allocations: 81.3 kB / 0.6067 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.351, allocations: 75.28 kB / 0.6068 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3511, allocations: 115.5 kB / 0.6069 GB, free: 39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3511, allocations: 0.6875 kB / 0.6069 GB, free: 39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.313e-05/0.3511, allocations: 34.22 kB / 0.6069 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.3512, allocations: 130.7 kB / 0.6071 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.3513, allocations: 133.7 kB / 0.6072 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.3513, allocations: 25.7 kB / 0.6072 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.3513, allocations: 93.45 kB / 0.6073 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.3513, allocations: 0 / 0.6073 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.3513, allocations: 0 / 0.6073 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.3514, allocations: 321.2 kB / 0.6076 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.3514, allocations: 7.062 kB / 0.6076 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.3514, allocations: 5.344 kB / 0.6076 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.3514, allocations: 9.359 kB / 0.6076 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3514, allocations: 4.391 kB / 0.6076 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.3515, allocations: 48.06 kB / 0.6077 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3516, allocations: 7.406 kB / 0.6077 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.3516, allocations: 3.531 kB / 0.6077 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3516, allocations: 6.266 kB / 0.6077 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3516, allocations: 3.281 kB / 0.6077 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3516, allocations: 4.5 kB / 0.6077 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.3516, allocations: 0.75 kB / 0.6077 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3517, allocations: 3.375 kB / 0.6077 GB, free: 38.27 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.3517, allocations: 184.4 kB / 0.6079 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3517, allocations: 113.8 kB / 0.608 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.3518, allocations: 112.6 kB / 0.6081 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.3518, allocations: 182 kB / 0.6083 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.3518, allocations: 181.4 kB / 0.6084 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.3518, allocations: 184.9 kB / 0.6086 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.352, allocations: 413 kB / 0.609 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.352, allocations: 108 kB / 0.6091 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.352, allocations: 102.9 kB / 0.6092 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/0.352, allocations: 185.6 kB / 0.6094 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.352, allocations: 179.9 kB / 0.6096 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/0.3521, allocations: 185.3 kB / 0.6097 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/0.3521, allocations: 180.8 kB / 0.6099 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.979e-05/0.3521, allocations: 310.2 kB / 0.6102 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.3522, allocations: 189 kB / 0.6104 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3522, allocations: 179.8 kB / 0.6106 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.3523, allocations: 103.1 kB / 0.6107 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3523, allocations: 186.8 kB / 0.6108 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3523, allocations: 105.5 kB / 0.6109 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.3523, allocations: 99.67 kB / 0.611 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3523, allocations: 0 / 0.611 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000638/0.353, allocations: 283.2 kB / 0.6113 GB, free: 34.79 MB / 0.4981 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006709/0.3537, allocations: 0.4964 MB / 0.6118 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.775e-05/0.3537, allocations: 42.08 kB / 0.6118 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3537, allocations: 4.219 kB / 0.6118 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.3538, allocations: 0 / 0.6118 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.354, allocations: 0.5296 MB / 0.6123 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.3542, allocations: 263.3 kB / 0.6126 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.3543, allocations: 0.6828 MB / 0.6133 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.159e-05/0.3543, allocations: 3.844 kB / 0.6133 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-06/0.3543, allocations: 7.438 kB / 0.6133 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3543, allocations: 2.656 kB / 0.6133 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.006482/0.3608, allocations: 5.658 MB / 0.6188 GB, free: 32.79 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)