Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001722/0.001722, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.9696/0.9696, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.5137 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1494, allocations: 82.04 MB / 0.5938 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004315/0.1538, allocations: 3.069 MB / 0.5968 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1566, allocations: 2.106 MB / 0.5989 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.1569, allocations: 8 kB / 0.5989 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1584, allocations: 478 kB / 0.5994 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.1588, allocations: 131.2 kB / 0.5995 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1589, allocations: 51.97 kB / 0.5995 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.1595, allocations: 448.2 kB / 0.6 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.1598, allocations: 151.2 kB / 0.6001 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.16, allocations: 155.4 kB / 0.6002 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1603, allocations: 191.1 kB / 0.6004 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/0.1603, allocations: 36 kB / 0.6005 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.1604, allocations: 32 kB / 0.6005 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1605, allocations: 91.69 kB / 0.6006 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1607, allocations: 226.9 kB / 0.6008 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.1612, allocations: 0.5605 MB / 0.6013 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1612, allocations: 0 / 0.6013 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.1612, allocations: 3.984 kB / 0.6013 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.1612, allocations: 0 / 0.6013 GB, free: 2.164 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001046/0.1623, allocations: 0.7045 MB / 0.602 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1623, allocations: 8.031 kB / 0.602 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.1624, allocations: 48.38 kB / 0.6021 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.1629, allocations: 374.1 kB / 0.6024 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1629, allocations: 16.81 kB / 0.6025 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.1629, allocations: 20.38 kB / 0.6025 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.1633, allocations: 203.6 kB / 0.6027 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1634, allocations: 4 kB / 0.6027 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1634, allocations: 11.94 kB / 0.6027 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1634, allocations: 8 kB / 0.6027 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1638, allocations: 161.7 kB / 0.6029 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2333/0.3971, allocations: 0.8618 MB / 0.6037 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.3974, allocations: 157.1 kB / 0.6038 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.3976, allocations: 109.9 kB / 0.6039 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3976, allocations: 3.094 kB / 0.604 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3976, allocations: 37.25 kB / 0.604 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3976, allocations: 0 / 0.604 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005242/0.3982, allocations: 253.3 kB / 0.6042 GB, free: 44.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3982, allocations: 56.22 kB / 0.6043 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.3986, allocations: 423.4 kB / 0.6047 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3986, allocations: 29.08 kB / 0.6047 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.3987, allocations: 210.6 kB / 0.6049 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3987, allocations: 65.3 kB / 0.605 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3988, allocations: 32.64 kB / 0.605 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.3989, allocations: 350.6 kB / 0.6053 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.399, allocations: 52.58 kB / 0.6054 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3991, allocations: 58.81 kB / 0.6054 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3994, allocations: 140.3 kB / 0.6056 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3994, allocations: 0 / 0.6056 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003235/0.3998, allocations: 206.6 kB / 0.6058 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3998, allocations: 3.688 kB / 0.6058 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3998, allocations: 7.859 kB / 0.6058 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3998, allocations: 0 / 0.6058 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.4001, allocations: 55.41 kB / 0.6058 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4001, allocations: 3.938 kB / 0.6058 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4002, allocations: 22.92 kB / 0.6059 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4003, allocations: 6 kB / 0.6059 GB, free: 43.29 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001194/0.4004, allocations: 164.2 kB / 0.606 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.4004, allocations: 35.66 kB / 0.6061 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.4005, allocations: 45.53 kB / 0.6061 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4005, allocations: 0 / 0.6061 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4005, allocations: 3.938 kB / 0.6061 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4005, allocations: 4.406 kB / 0.6061 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.4009, allocations: 367.6 kB / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4009, allocations: 1.688 kB / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.4011, allocations: 58.38 kB / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4011, allocations: 0 / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4011, allocations: 7.531 kB / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4011, allocations: 0 / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4012, allocations: 3.938 kB / 0.6065 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.4017, allocations: 384.3 kB / 0.6069 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.4018, allocations: 120.6 kB / 0.607 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4018, allocations: 0 / 0.607 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.402, allocations: 13.36 kB / 0.607 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.402, allocations: 15.94 kB / 0.607 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.402, allocations: 6.25 kB / 0.6071 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002479/0.4023, allocations: 306.4 kB / 0.6073 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4023, allocations: 0 / 0.6073 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002972/0.4026, allocations: 73.91 kB / 0.6074 GB, free: 42.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.000116/0.4027, allocations: 106.7 kB / 0.6075 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.4031, allocations: 156.3 kB / 0.6077 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4031, allocations: 0 / 0.6077 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4032, allocations: 77.53 kB / 0.6077 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.4038, allocations: 91.03 kB / 0.6078 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4049, allocations: 0.8777 MB / 0.6087 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.4051, allocations: 0.7961 MB / 0.6095 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.4052, allocations: 35.38 kB / 0.6095 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.4052, allocations: 28.36 kB / 0.6095 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4053, allocations: 1.969 kB / 0.6095 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.007174/0.4124, allocations: 3.893 MB / 0.6133 GB, free: 41.18 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)