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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001067/0.001067, allocations: 91.84 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.008626/0.008627, allocations: 170 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9683/0.9683, allocations: 143.4 MB / 434.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 12 kB / 0.5167 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 83.4 MB / 0.5981 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004156/0.1524, allocations: 3.766 MB / 0.6018 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.1557, allocations: 2.336 MB / 0.6041 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.1561, allocations: 8 kB / 0.6041 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.1576, allocations: 0.4978 MB / 0.6046 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005758/0.1582, allocations: 214.5 kB / 0.6048 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1585, allocations: 127.9 kB / 0.6049 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2583/0.4168, allocations: 0.8053 MB / 0.6057 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.4173, allocations: 271.8 kB / 0.606 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.4176, allocations: 243.3 kB / 0.6062 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.4179, allocations: 285.3 kB / 0.6065 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.4179, allocations: 35.31 kB / 0.6065 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.418, allocations: 34.62 kB / 0.6065 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.4181, allocations: 127.1 kB / 0.6067 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4184, allocations: 365.8 kB / 0.607 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.4189, allocations: 0.9708 MB / 0.6079 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4189, allocations: 0.8438 kB / 0.6079 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4189, allocations: 0 / 0.6079 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.419, allocations: 0 / 0.6079 GB, free: 35.54 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.001023/0.42, allocations: 0.841 MB / 0.6088 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.42, allocations: 11.84 kB / 0.6088 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.4201, allocations: 71.59 kB / 0.6089 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.4205, allocations: 460.1 kB / 0.6093 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4206, allocations: 38.19 kB / 0.6093 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.4206, allocations: 47.34 kB / 0.6094 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.4213, allocations: 434.9 kB / 0.6098 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4213, allocations: 6.625 kB / 0.6098 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.4214, allocations: 20.62 kB / 0.6098 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.4214, allocations: 16.78 kB / 0.6098 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.422, allocations: 375.3 kB / 0.6102 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.4237, allocations: 1.536 MB / 0.6117 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.4242, allocations: 341.4 kB / 0.612 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.4246, allocations: 321.9 kB / 0.6123 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4246, allocations: 5.25 kB / 0.6123 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.4246, allocations: 44.41 kB / 0.6124 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.4246, allocations: 4.5 kB / 0.6124 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009516/0.4256, allocations: 0.5111 MB / 0.6129 GB, free: 34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.4256, allocations: 57.91 kB / 0.6129 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.4262, allocations: 489.6 kB / 0.6134 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4262, allocations: 29.58 kB / 0.6134 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4263, allocations: 276.5 kB / 0.6137 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.4264, allocations: 140.4 kB / 0.6138 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.4265, allocations: 37.31 kB / 0.6139 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.4266, allocations: 358.1 kB / 0.6142 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.4268, allocations: 131.9 kB / 0.6143 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.427, allocations: 133.9 kB / 0.6144 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.4275, allocations: 314.5 kB / 0.6147 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4275, allocations: 0 / 0.6147 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006204/0.4281, allocations: 400.2 kB / 0.6151 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4282, allocations: 9.562 kB / 0.6151 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4282, allocations: 4 kB / 0.6151 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4282, allocations: 6.141 kB / 0.6151 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.4287, allocations: 127.3 kB / 0.6153 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4287, allocations: 3.281 kB / 0.6153 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.429, allocations: 60.41 kB / 0.6153 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.429, allocations: 9.406 kB / 0.6153 GB, free: 33.11 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.0001803/0.4292, allocations: 193.6 kB / 0.6155 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4292, allocations: 51.28 kB / 0.6156 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.4294, allocations: 67.44 kB / 0.6156 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4294, allocations: 5.656 kB / 0.6156 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4294, allocations: 0.5625 kB / 0.6156 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4294, allocations: 4 kB / 0.6156 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.4299, allocations: 0.5779 MB / 0.6162 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4299, allocations: 0.8125 kB / 0.6162 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.4304, allocations: 127.4 kB / 0.6163 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4304, allocations: 6.281 kB / 0.6163 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4304, allocations: 6.312 kB / 0.6163 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4304, allocations: 0 / 0.6163 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4304, allocations: 2.688 kB / 0.6163 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.4313, allocations: 0.6668 MB / 0.617 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.4314, allocations: 143.5 kB / 0.6171 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.4315, allocations: 9.781 kB / 0.6171 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4317, allocations: 25.39 kB / 0.6172 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.4318, allocations: 21.84 kB / 0.6172 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.4318, allocations: 9.125 kB / 0.6172 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003001/0.4321, allocations: 353.4 kB / 0.6175 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4321, allocations: 6.906 kB / 0.6175 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003625/0.4325, allocations: 140.5 kB / 0.6177 GB, free: 32.34 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.0001027/0.4326, allocations: 109.2 kB / 0.6178 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.4331, allocations: 336 kB / 0.6181 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4331, allocations: 0 / 0.6181 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.4334, allocations: 189.2 kB / 0.6183 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.4341, allocations: 118.8 kB / 0.6184 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.4356, allocations: 1.526 MB / 0.6199 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4358, allocations: 0.8658 MB / 0.6207 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.436, allocations: 61.91 kB / 0.6208 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.4361, allocations: 35 kB / 0.6208 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.4361, allocations: 0 / 0.6208 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.008765/0.4449, allocations: 5.553 MB / 0.6262 GB, free: 30.38 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)