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.001207/0.001207, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.586 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.9958/0.9958, allocations: 143 MB / 433.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 55.91 kB / 0.5142 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 82.05 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004403/0.1862, allocations: 3.055 MB / 0.5973 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.1891, allocations: 2.118 MB / 0.5994 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.1894, allocations: 4 kB / 0.5994 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.191, allocations: 474 kB / 0.5998 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1913, allocations: 135.2 kB / 0.6 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.1915, allocations: 55.91 kB / 0.6 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.192, allocations: 461.9 kB / 0.6005 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.1922, allocations: 139.8 kB / 0.6006 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1924, allocations: 135.4 kB / 0.6007 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1926, allocations: 179.2 kB / 0.6009 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.1927, allocations: 28 kB / 0.6009 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.1927, allocations: 24 kB / 0.6009 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1929, allocations: 91.61 kB / 0.601 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1931, allocations: 202.9 kB / 0.6012 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.1935, allocations: 470.7 kB / 0.6017 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1935, allocations: 0 / 0.6017 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1935, allocations: 0 / 0.6017 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1935, allocations: 0 / 0.6017 GB, free: 2.477 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.001097/0.1946, allocations: 0.7045 MB / 0.6024 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1947, allocations: 8.031 kB / 0.6024 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.1947, allocations: 52.31 kB / 0.6024 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.1952, allocations: 374.1 kB / 0.6028 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1952, allocations: 16.81 kB / 0.6028 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.1953, allocations: 20.38 kB / 0.6028 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1957, allocations: 207.6 kB / 0.603 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1957, allocations: 0 / 0.603 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.1958, allocations: 12 kB / 0.603 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1958, allocations: 4 kB / 0.603 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.1961, allocations: 165.6 kB / 0.6032 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3619/0.5581, allocations: 0.8657 MB / 0.604 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.5585, allocations: 158.3 kB / 0.6042 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.5587, allocations: 105.5 kB / 0.6043 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.5587, allocations: 4.625 kB / 0.6043 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5588, allocations: 30.56 kB / 0.6043 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/0.5588, allocations: 0.6875 kB / 0.6043 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006094/0.5594, allocations: 259.3 kB / 0.6046 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.5594, allocations: 54.94 kB / 0.6046 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.5598, allocations: 418.6 kB / 0.605 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.5599, allocations: 31.48 kB / 0.605 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.56, allocations: 205 kB / 0.6052 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.56, allocations: 62.92 kB / 0.6053 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.5601, allocations: 30.94 kB / 0.6053 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.5602, allocations: 356 kB / 0.6057 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5603, allocations: 55.92 kB / 0.6057 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.5604, allocations: 60.67 kB / 0.6058 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.5607, allocations: 131.8 kB / 0.6059 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5607, allocations: 0 / 0.6059 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003528/0.5611, allocations: 212.4 kB / 0.6061 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5611, allocations: 6.812 kB / 0.6061 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5611, allocations: 0 / 0.6061 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5611, allocations: 3.656 kB / 0.6061 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.5614, allocations: 50.25 kB / 0.6062 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5614, allocations: 2.828 kB / 0.6062 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5616, allocations: 24.53 kB / 0.6062 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5616, allocations: 13.8 kB / 0.6062 GB, free: 43.38 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.0001403/0.5618, allocations: 161.2 kB / 0.6063 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.5618, allocations: 37.12 kB / 0.6064 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.641e-05/0.5619, allocations: 40.84 kB / 0.6064 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5619, allocations: 4.812 kB / 0.6064 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5619, allocations: 0 / 0.6064 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5619, allocations: 5.688 kB / 0.6064 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.5623, allocations: 380 kB / 0.6068 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5623, allocations: 0 / 0.6068 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.5625, allocations: 55.27 kB / 0.6068 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5625, allocations: 2.844 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5626, allocations: 3.562 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5626, allocations: 2.844 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5626, allocations: 0 / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.5631, allocations: 379.2 kB / 0.6072 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.5632, allocations: 120.7 kB / 0.6073 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.5633, allocations: 2.75 kB / 0.6073 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5634, allocations: 17 kB / 0.6074 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.5635, allocations: 16.88 kB / 0.6074 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.5635, allocations: 7.5 kB / 0.6074 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000285/0.5638, allocations: 304.9 kB / 0.6077 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5638, allocations: 0 / 0.6077 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002968/0.5641, allocations: 72.97 kB / 0.6077 GB, free: 42.67 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.0001174/0.5642, allocations: 109.8 kB / 0.6078 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.5646, allocations: 147 kB / 0.608 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5646, allocations: 2.812 kB / 0.608 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.5647, allocations: 74.33 kB / 0.6081 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.5654, allocations: 94.11 kB / 0.6081 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5665, allocations: 0.9012 MB / 0.609 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.5668, allocations: 0.7968 MB / 0.6098 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.5668, allocations: 24.41 kB / 0.6098 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5668, allocations: 4.562 kB / 0.6098 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.005643/0.5725, allocations: 4.36 MB / 0.6141 GB, free: 41.04 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)