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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001283/0.001283, allocations: 194.9 kB / 16.14 MB, free: 6.656 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.979/0.979, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.84 kB / 0.5135 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1428, allocations: 82.04 MB / 0.5937 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005012/0.1478, allocations: 4.164 MB / 0.5977 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1505, allocations: 2.371 MB / 0.6 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.1507, allocations: 8 kB / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1519, allocations: 0.4996 MB / 0.6005 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.1523, allocations: 214.5 kB / 0.6007 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1524, allocations: 119.9 kB / 0.6008 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.1531, allocations: 0.8097 MB / 0.6016 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.1535, allocations: 280.1 kB / 0.6019 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.1537, allocations: 259 kB / 0.6022 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.154, allocations: 326.5 kB / 0.6025 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.1541, allocations: 44 kB / 0.6025 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.1542, allocations: 48 kB / 0.6026 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1543, allocations: 147.4 kB / 0.6027 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.1546, allocations: 350.3 kB / 0.603 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2396/0.3942, allocations: 1.003 MB / 0.604 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3942, allocations: 0.5312 kB / 0.604 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3942, allocations: 0.8125 kB / 0.604 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.3942, allocations: 1.594 kB / 0.604 GB, free: 39.21 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001217/0.3955, allocations: 0.9441 MB / 0.6049 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3955, allocations: 10.44 kB / 0.6049 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.3956, allocations: 75.09 kB / 0.605 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.396, allocations: 451.6 kB / 0.6054 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.3961, allocations: 41.12 kB / 0.6055 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.3961, allocations: 48.31 kB / 0.6055 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.3968, allocations: 426.1 kB / 0.6059 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3968, allocations: 3.938 kB / 0.6059 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.3968, allocations: 22.62 kB / 0.606 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3969, allocations: 10.53 kB / 0.606 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.3975, allocations: 368.6 kB / 0.6063 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.399, allocations: 1.533 MB / 0.6078 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.3995, allocations: 339.9 kB / 0.6081 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.3999, allocations: 318.2 kB / 0.6084 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3999, allocations: 2.938 kB / 0.6085 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3999, allocations: 47.27 kB / 0.6085 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.4, allocations: 0 / 0.6085 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008135/0.4008, allocations: 0.494 MB / 0.609 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.4008, allocations: 56.44 kB / 0.609 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4012, allocations: 484.5 kB / 0.6095 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4012, allocations: 32.42 kB / 0.6095 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4014, allocations: 283 kB / 0.6098 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.4014, allocations: 147.6 kB / 0.6099 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.4015, allocations: 60.41 kB / 0.61 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.4016, allocations: 361.1 kB / 0.6103 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.4018, allocations: 121.4 kB / 0.6105 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.402, allocations: 130.3 kB / 0.6106 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.4024, allocations: 302.9 kB / 0.6109 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4025, allocations: 4.5 kB / 0.6109 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005217/0.403, allocations: 391.2 kB / 0.6112 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.403, allocations: 9.5 kB / 0.6113 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.403, allocations: 0 / 0.6113 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.403, allocations: 2.938 kB / 0.6113 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.4035, allocations: 124.8 kB / 0.6114 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4035, allocations: 0 / 0.6114 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.4037, allocations: 54.58 kB / 0.6114 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4038, allocations: 9.656 kB / 0.6114 GB, free: 36.67 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 (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.0001537/0.4039, allocations: 195 kB / 0.6116 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.404, allocations: 55.12 kB / 0.6117 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/0.4041, allocations: 65.95 kB / 0.6117 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.4041, allocations: 5.469 kB / 0.6117 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4041, allocations: 0.5625 kB / 0.6117 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4041, allocations: 0 / 0.6117 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.4046, allocations: 0.5694 MB / 0.6123 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4046, allocations: 0 / 0.6123 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.4051, allocations: 129.8 kB / 0.6124 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4051, allocations: 6.781 kB / 0.6124 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.4051, allocations: 11.47 kB / 0.6124 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4051, allocations: 4 kB / 0.6124 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4051, allocations: 0.7656 kB / 0.6124 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.4059, allocations: 0.6466 MB / 0.6131 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.406, allocations: 137.9 kB / 0.6132 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.406, allocations: 6.906 kB / 0.6132 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4063, allocations: 32.84 kB / 0.6132 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.4063, allocations: 17.86 kB / 0.6133 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4064, allocations: 10.91 kB / 0.6133 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002901/0.4067, allocations: 355.1 kB / 0.6136 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4067, allocations: 2.344 kB / 0.6136 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003417/0.407, allocations: 143.9 kB / 0.6138 GB, free: 35.37 MB / 0.4981 GB 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.0001024/0.4071, allocations: 120.2 kB / 0.6139 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.4076, allocations: 319.6 kB / 0.6142 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4076, allocations: 0.6562 kB / 0.6142 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.4079, allocations: 187 kB / 0.6143 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.4085, allocations: 116.3 kB / 0.6145 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.41, allocations: 1.418 MB / 0.6158 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.4102, allocations: 0.8723 MB / 0.6167 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000161/0.4104, allocations: 56.23 kB / 0.6168 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.4105, allocations: 34.28 kB / 0.6168 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4105, allocations: 0 / 0.6168 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.008118/0.4186, allocations: 5.614 MB / 0.6223 GB, free: 33.17 MB / 0.4981 GB 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)