Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001707/0.001707, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.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.8481/0.8481, allocations: 143 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 63.91 kB / 0.5144 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4071, allocations: 82.04 MB / 0.5945 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004219/0.4114, allocations: 4.16 MB / 0.5986 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.4139, allocations: 2.367 MB / 0.6009 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.4142, allocations: 15.94 kB / 0.6009 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.4155, allocations: 0.4971 MB / 0.6014 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.4159, allocations: 223.8 kB / 0.6016 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.4161, allocations: 115.9 kB / 0.6017 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.4167, allocations: 0.811 MB / 0.6025 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.417, allocations: 331.8 kB / 0.6028 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.4173, allocations: 283 kB / 0.6031 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.4175, allocations: 336.1 kB / 0.6034 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.4176, allocations: 72 kB / 0.6035 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.4177, allocations: 76 kB / 0.6035 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4178, allocations: 179.4 kB / 0.6037 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.418, allocations: 383.6 kB / 0.6041 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.4185, allocations: 0.8416 MB / 0.6049 GB, free: 5.711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4185, allocations: 0 / 0.6049 GB, free: 5.711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4186, allocations: 0 / 0.6049 GB, free: 5.711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.4186, allocations: 1.344 kB / 0.6049 GB, free: 5.711 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001153/0.4197, allocations: 0.9586 MB / 0.6058 GB, free: 4.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4198, allocations: 12.03 kB / 0.6058 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4199, allocations: 77.31 kB / 0.6059 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.4204, allocations: 449.7 kB / 0.6063 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.4204, allocations: 37.38 kB / 0.6064 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.4205, allocations: 48.31 kB / 0.6064 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.4211, allocations: 440.1 kB / 0.6068 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4211, allocations: 0 / 0.6068 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.4212, allocations: 21.38 kB / 0.6069 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.4212, allocations: 12 kB / 0.6069 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.4218, allocations: 372.7 kB / 0.6072 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.4233, allocations: 1.521 MB / 0.6087 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.4238, allocations: 354.5 kB / 0.609 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.4241, allocations: 314.1 kB / 0.6093 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4242, allocations: 5.219 kB / 0.6094 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4242, allocations: 46.48 kB / 0.6094 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.4242, allocations: 0.5938 kB / 0.6094 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008013/0.425, allocations: 0.4921 MB / 0.6099 GB, free: 436 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.4251, allocations: 56.47 kB / 0.6099 GB, free: 368 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.4255, allocations: 485.9 kB / 0.6104 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4256, allocations: 34.89 kB / 0.6104 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.4257, allocations: 276.3 kB / 0.6107 GB, free: 15.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4259, allocations: 145.8 kB / 0.6108 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.426, allocations: 63.55 kB / 0.6109 GB, free: 15.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4261, allocations: 362.8 kB / 0.6112 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.4264, allocations: 117.8 kB / 0.6114 GB, free: 14.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.4266, allocations: 133.8 kB / 0.6115 GB, free: 14.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.4271, allocations: 299.2 kB / 0.6118 GB, free: 14.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4271, allocations: 0 / 0.6118 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006038/0.4277, allocations: 393.8 kB / 0.6121 GB, free: 14.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4277, allocations: 4 kB / 0.6121 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4278, allocations: 1.469 kB / 0.6121 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4278, allocations: 4 kB / 0.6121 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.4283, allocations: 125.6 kB / 0.6123 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4283, allocations: 0.7656 kB / 0.6123 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4285, allocations: 58.09 kB / 0.6123 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.4286, allocations: 12 kB / 0.6123 GB, free: 13.86 MB / 462.1 MB 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 (46): * Single equations (assignments): 46 * 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.0002094/0.4288, allocations: 189.8 kB / 0.6125 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.4289, allocations: 56 kB / 0.6126 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.429, allocations: 61.11 kB / 0.6126 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.429, allocations: 5 kB / 0.6126 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.429, allocations: 11.92 kB / 0.6126 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.429, allocations: 0 / 0.6126 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.4296, allocations: 0.5682 MB / 0.6132 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4296, allocations: 0 / 0.6132 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.4301, allocations: 130.4 kB / 0.6133 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4302, allocations: 4 kB / 0.6133 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4302, allocations: 8 kB / 0.6133 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4302, allocations: 4 kB / 0.6133 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4302, allocations: 0 / 0.6133 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.4311, allocations: 0.6495 MB / 0.614 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4313, allocations: 140.4 kB / 0.6141 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.4313, allocations: 8 kB / 0.6141 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4316, allocations: 26.61 kB / 0.6141 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.4316, allocations: 23.95 kB / 0.6142 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4317, allocations: 12 kB / 0.6142 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003711/0.4321, allocations: 353.4 kB / 0.6145 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4321, allocations: 0 / 0.6145 GB, free: 11.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.4324, allocations: 139.6 kB / 0.6146 GB, free: 11.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001702/0.4326, allocations: 120.5 kB / 0.6148 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006774/0.4333, allocations: 344.6 kB / 0.6151 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4333, allocations: 0.6562 kB / 0.6151 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.4336, allocations: 188.6 kB / 0.6153 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.4343, allocations: 121.5 kB / 0.6154 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.4364, allocations: 1.451 MB / 0.6168 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.4368, allocations: 0.8665 MB / 0.6176 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.437, allocations: 51.36 kB / 0.6177 GB, free: 8.262 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.437, allocations: 0 / 0.6177 GB, free: 8.262 MB / 462.1 MB Notification: Performance of Templates: time 0.009508/0.4465, allocations: 6.834 MB / 0.6244 GB, free: 1.5 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)