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.001163/0.001163, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01065/0.01065, allocations: 174 kB / 16.27 MB, free: 6.648 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.068/1.068, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004102, allocations: 15.98 kB / 0.5164 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 83.41 MB / 0.5979 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004672/0.1857, allocations: 3.755 MB / 0.6016 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.1896, allocations: 2.34 MB / 0.6038 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.1902, allocations: 15.94 kB / 0.6039 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.1921, allocations: 0.4901 MB / 0.6043 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008685/0.193, allocations: 218.4 kB / 0.6045 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.1934, allocations: 123.9 kB / 0.6047 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2922/0.4856, allocations: 0.8045 MB / 0.6055 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.4862, allocations: 272.8 kB / 0.6057 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.4866, allocations: 237.7 kB / 0.6059 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.4869, allocations: 289.6 kB / 0.6062 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.4869, allocations: 34.5 kB / 0.6062 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.487, allocations: 34.47 kB / 0.6063 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.4871, allocations: 130 kB / 0.6064 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.4874, allocations: 363.3 kB / 0.6067 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.488, allocations: 0.97 MB / 0.6077 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.488, allocations: 0 / 0.6077 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.488, allocations: 0.6562 kB / 0.6077 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.488, allocations: 0 / 0.6077 GB, free: 35.45 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.001018/0.489, allocations: 0.8365 MB / 0.6085 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4891, allocations: 15.27 kB / 0.6085 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.4892, allocations: 75.66 kB / 0.6086 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4896, allocations: 453.9 kB / 0.609 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4896, allocations: 40.69 kB / 0.6091 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.4897, allocations: 49.72 kB / 0.6091 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.4903, allocations: 431 kB / 0.6095 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4904, allocations: 4.594 kB / 0.6095 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.4904, allocations: 23.95 kB / 0.6096 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4904, allocations: 16.66 kB / 0.6096 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.491, allocations: 375.2 kB / 0.6099 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.4927, allocations: 1.537 MB / 0.6114 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.4931, allocations: 340.5 kB / 0.6118 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.4935, allocations: 330 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4936, allocations: 5.031 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4936, allocations: 44.16 kB / 0.6121 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.4936, allocations: 3.938 kB / 0.6121 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008338/0.4944, allocations: 0.5084 MB / 0.6126 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.4945, allocations: 54.38 kB / 0.6127 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.495, allocations: 488.6 kB / 0.6131 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.495, allocations: 33.86 kB / 0.6132 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.4952, allocations: 274.7 kB / 0.6134 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.4953, allocations: 141.4 kB / 0.6136 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.4953, allocations: 40.89 kB / 0.6136 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.646e-05/0.4954, allocations: 359.1 kB / 0.6139 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.4956, allocations: 133.3 kB / 0.6141 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.4958, allocations: 128.3 kB / 0.6142 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.4963, allocations: 315.5 kB / 0.6145 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4963, allocations: 0 / 0.6145 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005695/0.4968, allocations: 396.8 kB / 0.6149 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4969, allocations: 13.22 kB / 0.6149 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4969, allocations: 4 kB / 0.6149 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4969, allocations: 2.812 kB / 0.6149 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.4974, allocations: 124.2 kB / 0.615 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4974, allocations: 5.125 kB / 0.615 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.4976, allocations: 61.02 kB / 0.6151 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.4977, allocations: 11.03 kB / 0.6151 GB, free: 33.01 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.0001916/0.4979, allocations: 195.3 kB / 0.6153 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.4979, allocations: 53.16 kB / 0.6153 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4981, allocations: 62.44 kB / 0.6154 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4981, allocations: 2.875 kB / 0.6154 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4981, allocations: 1 kB / 0.6154 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4981, allocations: 4 kB / 0.6154 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.4986, allocations: 0.5785 MB / 0.616 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4986, allocations: 0 / 0.616 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.4991, allocations: 129.1 kB / 0.6161 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4991, allocations: 3.938 kB / 0.6161 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.4991, allocations: 10.03 kB / 0.6161 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4991, allocations: 2.938 kB / 0.6161 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4991, allocations: 0 / 0.6161 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.4999, allocations: 0.6644 MB / 0.6167 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.5, allocations: 145.4 kB / 0.6169 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.5001, allocations: 6.312 kB / 0.6169 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.5003, allocations: 31.52 kB / 0.6169 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.5004, allocations: 18.2 kB / 0.6169 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.5004, allocations: 11.34 kB / 0.6169 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002884/0.5007, allocations: 349.9 kB / 0.6173 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5007, allocations: 4 kB / 0.6173 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000358/0.5011, allocations: 140.2 kB / 0.6174 GB, free: 32.24 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.0001129/0.5012, allocations: 114.1 kB / 0.6175 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.5017, allocations: 341.6 kB / 0.6179 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5017, allocations: 0 / 0.6179 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.502, allocations: 184.4 kB / 0.618 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.5027, allocations: 129.2 kB / 0.6182 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.5042, allocations: 1.508 MB / 0.6196 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5045, allocations: 0.871 MB / 0.6205 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.5046, allocations: 62.31 kB / 0.6205 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.5047, allocations: 35.88 kB / 0.6206 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5047, allocations: 0 / 0.6206 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.008816/0.5136, allocations: 5.566 MB / 0.626 GB, free: 30.29 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)