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.006076/0.006077, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001293/0.001293, allocations: 191.4 kB / 16.79 MB, free: 5.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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.9753/0.9753, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.09 kB / 0.5142 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1785, allocations: 82.05 MB / 0.5943 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005139/0.1837, allocations: 4.156 MB / 0.5984 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1869, allocations: 2.371 MB / 0.6007 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1871, allocations: 8 kB / 0.6007 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.1886, allocations: 0.4939 MB / 0.6012 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.189, allocations: 222.4 kB / 0.6014 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1892, allocations: 119.9 kB / 0.6015 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007244/0.1899, allocations: 0.8136 MB / 0.6023 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.1903, allocations: 280.1 kB / 0.6026 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.1906, allocations: 255 kB / 0.6028 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.1909, allocations: 326.5 kB / 0.6031 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.191, allocations: 48 kB / 0.6032 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.1911, allocations: 48 kB / 0.6032 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1912, allocations: 139.5 kB / 0.6034 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.1915, allocations: 358.2 kB / 0.6037 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3069/0.4984, allocations: 0.8397 MB / 0.6045 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.4985, allocations: 0 / 0.6045 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4985, allocations: 0 / 0.6045 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.4985, allocations: 1.281 kB / 0.6045 GB, free: 38.35 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.001471/0.5, allocations: 0.9483 MB / 0.6054 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5001, allocations: 8.688 kB / 0.6054 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.5002, allocations: 78.06 kB / 0.6055 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.5007, allocations: 453.7 kB / 0.606 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.5007, allocations: 35.56 kB / 0.606 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.5008, allocations: 45.66 kB / 0.606 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.5015, allocations: 430.4 kB / 0.6064 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5015, allocations: 3.938 kB / 0.6064 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.5016, allocations: 22.94 kB / 0.6065 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5016, allocations: 11.59 kB / 0.6065 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.5022, allocations: 370 kB / 0.6068 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.504, allocations: 1.537 MB / 0.6083 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.5045, allocations: 334.6 kB / 0.6087 GB, free: 36.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.5049, allocations: 317.4 kB / 0.609 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.505, allocations: 5.688 kB / 0.609 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.505, allocations: 44.31 kB / 0.609 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.505, allocations: 2.875 kB / 0.609 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008761/0.5059, allocations: 498.6 kB / 0.6095 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.5059, allocations: 59.41 kB / 0.6095 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.5064, allocations: 484 kB / 0.61 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.5064, allocations: 35.55 kB / 0.61 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5066, allocations: 280.3 kB / 0.6103 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.5067, allocations: 144.8 kB / 0.6104 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.5068, allocations: 63.62 kB / 0.6105 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.5069, allocations: 363.6 kB / 0.6108 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.5071, allocations: 124.3 kB / 0.611 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.5074, allocations: 122.3 kB / 0.6111 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.5078, allocations: 305.6 kB / 0.6114 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5078, allocations: 0 / 0.6114 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005554/0.5084, allocations: 392.4 kB / 0.6117 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5084, allocations: 9.938 kB / 0.6118 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5084, allocations: 0 / 0.6118 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5084, allocations: 2.688 kB / 0.6118 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.5089, allocations: 127.9 kB / 0.6119 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5089, allocations: 2.781 kB / 0.6119 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.5092, allocations: 48.11 kB / 0.6119 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.5093, allocations: 5.781 kB / 0.6119 GB, free: 35.95 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.0001964/0.5095, allocations: 200.6 kB / 0.6121 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.5095, allocations: 56.41 kB / 0.6122 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.5096, allocations: 61.12 kB / 0.6122 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5097, allocations: 7 kB / 0.6122 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5097, allocations: 0 / 0.6122 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5097, allocations: 3.188 kB / 0.6122 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.5103, allocations: 0.5733 MB / 0.6128 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5103, allocations: 2.531 kB / 0.6128 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.5108, allocations: 120.9 kB / 0.6129 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5108, allocations: 10.88 kB / 0.6129 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5108, allocations: 9.844 kB / 0.6129 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5108, allocations: 1.969 kB / 0.6129 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5108, allocations: 0 / 0.6129 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.5117, allocations: 0.6446 MB / 0.6136 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.5118, allocations: 141.7 kB / 0.6137 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.5118, allocations: 18.86 kB / 0.6137 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.5121, allocations: 20.11 kB / 0.6137 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.5121, allocations: 26.42 kB / 0.6138 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.5121, allocations: 9.25 kB / 0.6138 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003282/0.5125, allocations: 354.9 kB / 0.6141 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5125, allocations: 0 / 0.6141 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003827/0.5129, allocations: 145 kB / 0.6143 GB, free: 34.81 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.00013/0.513, allocations: 113.6 kB / 0.6144 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.5136, allocations: 326.1 kB / 0.6147 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5136, allocations: 0 / 0.6147 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.5138, allocations: 184.4 kB / 0.6149 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.5146, allocations: 122.8 kB / 0.615 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.5164, allocations: 1.457 MB / 0.6164 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5167, allocations: 0.8688 MB / 0.6172 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.5168, allocations: 36.06 kB / 0.6173 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.5168, allocations: 2.906 kB / 0.6173 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.008952/0.5258, allocations: 6.836 MB / 0.624 GB, free: 32.14 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)