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.0008923/0.0008925, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008227/0.008227, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9752/0.9752, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 15.98 kB / 0.5164 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1837, allocations: 83.41 MB / 0.5979 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003166/0.1869, allocations: 2.689 MB / 0.6005 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1894, allocations: 2.075 MB / 0.6025 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1896, allocations: 4 kB / 0.6025 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1908, allocations: 486 kB / 0.603 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.191, allocations: 139.1 kB / 0.6031 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.1911, allocations: 47.97 kB / 0.6032 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.1916, allocations: 467.4 kB / 0.6036 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1918, allocations: 123.8 kB / 0.6038 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.192, allocations: 139.4 kB / 0.6039 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1922, allocations: 167.2 kB / 0.604 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1922, allocations: 16 kB / 0.6041 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.1922, allocations: 20 kB / 0.6041 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1924, allocations: 79.61 kB / 0.6042 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.1925, allocations: 220.7 kB / 0.6044 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.193, allocations: 0.5369 MB / 0.6049 GB, free: 400 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.193, allocations: 0 / 0.6049 GB, free: 400 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.193, allocations: 0 / 0.6049 GB, free: 400 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.193, allocations: 0 / 0.6049 GB, free: 400 kB / 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.3198/0.5128, allocations: 0.6426 MB / 0.6055 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5129, allocations: 9.031 kB / 0.6055 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.513, allocations: 51.44 kB / 0.6056 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.5135, allocations: 372.6 kB / 0.6059 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.5136, allocations: 16.84 kB / 0.6059 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.5136, allocations: 20.56 kB / 0.606 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.5141, allocations: 209.6 kB / 0.6062 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5141, allocations: 0.7969 kB / 0.6062 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.5142, allocations: 13.94 kB / 0.6062 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5142, allocations: 6.75 kB / 0.6062 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.5145, allocations: 178.5 kB / 0.6064 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/0.5155, allocations: 0.8755 MB / 0.6072 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.5159, allocations: 158.5 kB / 0.6074 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.5161, allocations: 121.8 kB / 0.6075 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.5161, allocations: 0 / 0.6075 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5161, allocations: 36.75 kB / 0.6075 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.5161, allocations: 1.375 kB / 0.6075 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005911/0.5167, allocations: 272 kB / 0.6078 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5168, allocations: 57.97 kB / 0.6078 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.5171, allocations: 416.2 kB / 0.6082 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.5172, allocations: 31.64 kB / 0.6083 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.5173, allocations: 207.9 kB / 0.6085 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.5173, allocations: 62.25 kB / 0.6085 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.5174, allocations: 23.09 kB / 0.6085 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.5174, allocations: 344.2 kB / 0.6089 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5176, allocations: 60.34 kB / 0.6089 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.5177, allocations: 65.7 kB / 0.609 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.518, allocations: 149.3 kB / 0.6091 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.518, allocations: 0 / 0.6091 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003391/0.5184, allocations: 217.6 kB / 0.6093 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5184, allocations: 5.844 kB / 0.6093 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5184, allocations: 2.516 kB / 0.6093 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5184, allocations: 4.844 kB / 0.6093 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.5187, allocations: 53.19 kB / 0.6094 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5187, allocations: 9.578 kB / 0.6094 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.5189, allocations: 24.8 kB / 0.6094 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.5189, allocations: 9.5 kB / 0.6094 GB, free: 40.22 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.0001225/0.519, allocations: 166.9 kB / 0.6096 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.5191, allocations: 35.75 kB / 0.6096 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.5191, allocations: 40.12 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5191, allocations: 6.719 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5191, allocations: 0 / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5192, allocations: 3.688 kB / 0.6097 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.5195, allocations: 376.8 kB / 0.61 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5195, allocations: 0 / 0.61 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.5198, allocations: 62 kB / 0.6101 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5198, allocations: 3 kB / 0.6101 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.5198, allocations: 3.438 kB / 0.6101 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5198, allocations: 3.938 kB / 0.6101 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5198, allocations: 4.156 kB / 0.6101 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.5203, allocations: 389.4 kB / 0.6105 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.5204, allocations: 122.5 kB / 0.6106 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.5205, allocations: 5.531 kB / 0.6106 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.5207, allocations: 19.62 kB / 0.6106 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5207, allocations: 13.31 kB / 0.6106 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5207, allocations: 4.312 kB / 0.6106 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002577/0.521, allocations: 311.7 kB / 0.6109 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.521, allocations: 0 / 0.6109 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002829/0.5213, allocations: 69.25 kB / 0.611 GB, free: 39.5 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.0001264/0.5214, allocations: 109.6 kB / 0.6111 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.5218, allocations: 158.7 kB / 0.6113 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5218, allocations: 3.938 kB / 0.6113 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.522, allocations: 86.19 kB / 0.6113 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.5227, allocations: 83.2 kB / 0.6114 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.5241, allocations: 0.9332 MB / 0.6123 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5245, allocations: 0.8013 MB / 0.6131 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.5246, allocations: 35.12 kB / 0.6132 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.5247, allocations: 23.97 kB / 0.6132 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5247, allocations: 0 / 0.6132 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.007541/0.5322, allocations: 3.703 MB / 0.6168 GB, free: 37.99 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)