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.001221/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00116/0.00116, allocations: 191 kB / 16.14 MB, free: 6.688 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.9769/0.9769, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.5135 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 82.04 MB / 0.5937 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004054/0.1545, allocations: 3.067 MB / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.157, allocations: 2.11 MB / 0.5987 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1572, allocations: 4 kB / 0.5987 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.1585, allocations: 478 kB / 0.5992 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.1588, allocations: 135.2 kB / 0.5993 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.1589, allocations: 51.91 kB / 0.5993 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.1593, allocations: 461.9 kB / 0.5998 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1596, allocations: 127.9 kB / 0.5999 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1597, allocations: 147.3 kB / 0.6001 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1599, allocations: 179.2 kB / 0.6002 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.16, allocations: 28 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.16, allocations: 24 kB / 0.6003 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1602, allocations: 91.59 kB / 0.6004 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1603, allocations: 203 kB / 0.6006 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.1608, allocations: 0.5526 MB / 0.6011 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1608, allocations: 0 / 0.6011 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1608, allocations: 0 / 0.6011 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1608, allocations: 0 / 0.6011 GB, free: 2.359 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.0009608/0.1618, allocations: 0.7007 MB / 0.6018 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1618, allocations: 12.03 kB / 0.6018 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.1619, allocations: 44.38 kB / 0.6018 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.1623, allocations: 382 kB / 0.6022 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1623, allocations: 16.81 kB / 0.6022 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.1624, allocations: 20.31 kB / 0.6022 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1628, allocations: 207.6 kB / 0.6024 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1628, allocations: 0 / 0.6024 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1628, allocations: 8 kB / 0.6024 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1628, allocations: 8 kB / 0.6024 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.1632, allocations: 161.6 kB / 0.6026 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2456/0.4088, allocations: 0.8632 MB / 0.6034 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.4092, allocations: 151.7 kB / 0.6036 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4094, allocations: 115.2 kB / 0.6037 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.4094, allocations: 2.969 kB / 0.6037 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.4094, allocations: 33.53 kB / 0.6037 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.4094, allocations: 0.5312 kB / 0.6037 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005559/0.41, allocations: 253.7 kB / 0.604 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.41, allocations: 59.06 kB / 0.604 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4104, allocations: 419.2 kB / 0.6044 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.4104, allocations: 25.7 kB / 0.6045 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.4105, allocations: 215.6 kB / 0.6047 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.4106, allocations: 56.39 kB / 0.6047 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.4106, allocations: 37.19 kB / 0.6047 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.4107, allocations: 348.6 kB / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4109, allocations: 55.73 kB / 0.6051 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.411, allocations: 58.89 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.4113, allocations: 137.2 kB / 0.6053 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4113, allocations: 1.125 kB / 0.6053 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003324/0.4116, allocations: 208.9 kB / 0.6055 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4117, allocations: 2.875 kB / 0.6055 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4117, allocations: 8.594 kB / 0.6055 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4117, allocations: 0 / 0.6055 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.4119, allocations: 54.34 kB / 0.6056 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4119, allocations: 0.5 kB / 0.6056 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.4121, allocations: 27.05 kB / 0.6056 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4121, allocations: 7.797 kB / 0.6056 GB, free: 43.39 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.0001183/0.4123, allocations: 166 kB / 0.6058 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.4123, allocations: 42 kB / 0.6058 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.4124, allocations: 34.77 kB / 0.6058 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4124, allocations: 2.531 kB / 0.6059 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4124, allocations: 0 / 0.6059 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4124, allocations: 3.938 kB / 0.6059 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.4127, allocations: 381.7 kB / 0.6062 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4127, allocations: 2.844 kB / 0.6062 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.413, allocations: 52.61 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.413, allocations: 3.938 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.413, allocations: 6.656 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.413, allocations: 2.156 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.413, allocations: 0.625 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.4135, allocations: 374.2 kB / 0.6066 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.4136, allocations: 118.3 kB / 0.6068 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.4137, allocations: 8.938 kB / 0.6068 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.4138, allocations: 19.7 kB / 0.6068 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.4139, allocations: 13.42 kB / 0.6068 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4139, allocations: 8.281 kB / 0.6068 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002687/0.4142, allocations: 301.6 kB / 0.6071 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4142, allocations: 2.516 kB / 0.6071 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.4145, allocations: 73.34 kB / 0.6072 GB, free: 42.69 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 9.248e-05/0.4146, allocations: 107.4 kB / 0.6073 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.4149, allocations: 148.2 kB / 0.6074 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4149, allocations: 0 / 0.6074 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4151, allocations: 79.23 kB / 0.6075 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.4157, allocations: 90.28 kB / 0.6076 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4167, allocations: 0.8685 MB / 0.6084 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.4169, allocations: 0.795 MB / 0.6092 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.417, allocations: 40.27 kB / 0.6092 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.4171, allocations: 25.72 kB / 0.6093 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.4171, allocations: 0 / 0.6093 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.006198/0.4233, allocations: 3.738 MB / 0.6129 GB, free: 41.28 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)