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.001221/0.001221, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 198.5 kB / 16.79 MB, free: 6.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.523 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 1.04/1.04, allocations: 143 MB / 433.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 59.91 kB / 0.5142 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1876, allocations: 82.05 MB / 0.5943 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002656/0.1903, allocations: 1.492 MB / 0.5958 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.1947, allocations: 3.009 MB / 0.5987 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.1948, allocations: 0 / 0.5987 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.1948, allocations: 3.984 kB / 0.5987 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.1949, allocations: 11.88 kB / 0.5987 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.1983, allocations: 1.391 MB / 0.6001 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.38e-05/0.1984, allocations: 43.69 kB / 0.6001 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.1985, allocations: 7.984 kB / 0.6002 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1985, allocations: 19.92 kB / 0.6002 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.434e-05/0.1985, allocations: 11.94 kB / 0.6002 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1986, allocations: 4 kB / 0.6002 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.2006, allocations: 1.462 MB / 0.6016 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.2006, allocations: 11.92 kB / 0.6016 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.2007, allocations: 15.88 kB / 0.6016 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.2017, allocations: 0.7801 MB / 0.6024 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2017, allocations: 0 / 0.6024 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2017, allocations: 4 kB / 0.6024 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2017, allocations: 0 / 0.6024 GB, free: 1.699 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.0005819/0.2023, allocations: 0.5224 MB / 0.6029 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2023, allocations: 8.031 kB / 0.6029 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.2024, allocations: 80.22 kB / 0.603 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2026, allocations: 255.5 kB / 0.6032 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.2026, allocations: 154.9 kB / 0.6034 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.2027, allocations: 154.9 kB / 0.6035 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.445e-05/0.2028, allocations: 105.1 kB / 0.6036 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.2028, allocations: 79.27 kB / 0.6037 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.2029, allocations: 154.5 kB / 0.6039 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3515/0.5544, allocations: 154.6 kB / 0.604 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.5544, allocations: 151.1 kB / 0.6042 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.5547, allocations: 462.9 kB / 0.6046 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.5548, allocations: 172 kB / 0.6048 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.5548, allocations: 81.17 kB / 0.6048 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.5548, allocations: 78.06 kB / 0.6049 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5549, allocations: 108.6 kB / 0.605 GB, free: 42.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.5549, allocations: 1.062 kB / 0.605 GB, free: 42.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.035e-05/0.555, allocations: 35.64 kB / 0.6051 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.555, allocations: 128.8 kB / 0.6052 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5552, allocations: 137.9 kB / 0.6053 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.5552, allocations: 25.7 kB / 0.6053 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.5552, allocations: 94.12 kB / 0.6054 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.5552, allocations: 0 / 0.6054 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5553, allocations: 21.78 kB / 0.6054 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.5553, allocations: 317.4 kB / 0.6057 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.5554, allocations: 5.562 kB / 0.6058 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.5554, allocations: 7 kB / 0.6058 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.5554, allocations: 21.53 kB / 0.6058 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5554, allocations: 1.422 kB / 0.6058 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/0.5556, allocations: 50.02 kB / 0.6058 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5556, allocations: 9.344 kB / 0.6058 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.5556, allocations: 5.219 kB / 0.6058 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5557, allocations: 0.5625 kB / 0.6058 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-06/0.5557, allocations: 1.531 kB / 0.6058 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5557, allocations: 2.484 kB / 0.6058 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.5557, allocations: 5.844 kB / 0.6059 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5557, allocations: 0 / 0.6059 GB, free: 42.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.5558, allocations: 188.2 kB / 0.606 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.5558, allocations: 111.6 kB / 0.6061 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.5559, allocations: 116.2 kB / 0.6062 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.5559, allocations: 176.3 kB / 0.6064 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-05/0.5559, allocations: 183.8 kB / 0.6066 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.556, allocations: 180 kB / 0.6068 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.5561, allocations: 415.2 kB / 0.6072 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.5561, allocations: 102.2 kB / 0.6073 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.5562, allocations: 110.8 kB / 0.6074 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-05/0.5562, allocations: 182.5 kB / 0.6075 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.5562, allocations: 181.7 kB / 0.6077 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.72e-05/0.5563, allocations: 180.5 kB / 0.6079 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-05/0.5563, allocations: 181.1 kB / 0.6081 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.513e-05/0.5564, allocations: 315.8 kB / 0.6084 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.5564, allocations: 183.4 kB / 0.6085 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.5565, allocations: 190 kB / 0.6087 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.5565, allocations: 104.5 kB / 0.6088 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.5566, allocations: 183.8 kB / 0.609 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5566, allocations: 103 kB / 0.6091 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.5566, allocations: 103.7 kB / 0.6092 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5567, allocations: 0 / 0.6092 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000887/0.5575, allocations: 283.3 kB / 0.6095 GB, free: 38.69 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 (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.001034/0.5586, allocations: 0.5336 MB / 0.61 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.5587, allocations: 43.95 kB / 0.61 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5587, allocations: 0 / 0.61 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5587, allocations: 6.031 kB / 0.61 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.5591, allocations: 0.5199 MB / 0.6105 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.5593, allocations: 284.3 kB / 0.6108 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.5595, allocations: 0.6837 MB / 0.6115 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.5595, allocations: 11.78 kB / 0.6115 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.5595, allocations: 1.688 kB / 0.6115 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.006883/0.5664, allocations: 4.828 MB / 0.6162 GB, free: 36.6 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)