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.0008412/0.0008412, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008985/0.0008985, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 223.3 MB / 240 MB, free: 5.391 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.8496/0.8496, allocations: 143.2 MB / 434.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 12 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1244, allocations: 83.41 MB / 0.5973 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002594/0.1271, allocations: 2.585 MB / 0.5998 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1293, allocations: 1.944 MB / 0.6017 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1295, allocations: 4 kB / 0.6017 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009782/0.1305, allocations: 426.2 kB / 0.6021 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1307, allocations: 127.2 kB / 0.6022 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 8.969e-05/0.1308, allocations: 35.91 kB / 0.6023 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.1312, allocations: 423.7 kB / 0.6027 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1314, allocations: 119 kB / 0.6028 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1316, allocations: 131.4 kB / 0.6029 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1318, allocations: 167.2 kB / 0.6031 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1318, allocations: 16 kB / 0.6031 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.1319, allocations: 23.94 kB / 0.6031 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.132, allocations: 75.69 kB / 0.6032 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.1321, allocations: 113.5 kB / 0.6033 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1324, allocations: 466.6 kB / 0.6037 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1324, allocations: 0 / 0.6037 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1324, allocations: 0 / 0.6037 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.1324, allocations: 4 kB / 0.6038 GB, free: 1.383 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.0007749/0.1332, allocations: 0.6384 MB / 0.6044 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.1332, allocations: 16.03 kB / 0.6044 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.1333, allocations: 47.39 kB / 0.6044 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.1337, allocations: 361.1 kB / 0.6048 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1337, allocations: 12.44 kB / 0.6048 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.1338, allocations: 23.91 kB / 0.6048 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2129/0.3467, allocations: 207.3 kB / 0.605 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.3468, allocations: 0.9844 kB / 0.605 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.3468, allocations: 3.75 kB / 0.605 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3468, allocations: 5.5 kB / 0.605 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.3472, allocations: 174.9 kB / 0.6052 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.3482, allocations: 0.8723 MB / 0.606 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.3484, allocations: 164.3 kB / 0.6062 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3486, allocations: 119.4 kB / 0.6063 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3486, allocations: 4 kB / 0.6063 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.3486, allocations: 35.12 kB / 0.6064 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.3486, allocations: 0 / 0.6064 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0004422/0.349, allocations: 267.2 kB / 0.6066 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.3491, allocations: 62.28 kB / 0.6067 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.3494, allocations: 414.1 kB / 0.6071 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.3494, allocations: 28.75 kB / 0.6071 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.3495, allocations: 208.7 kB / 0.6073 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3495, allocations: 62.58 kB / 0.6073 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.3496, allocations: 1.031 kB / 0.6073 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.3496, allocations: 348.5 kB / 0.6077 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3497, allocations: 62.78 kB / 0.6077 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3498, allocations: 70.12 kB / 0.6078 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.35, allocations: 68.66 kB / 0.6079 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.35, allocations: 0 / 0.6079 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002731/0.3502, allocations: 221.8 kB / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3503, allocations: 7.75 kB / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3503, allocations: 0 / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3503, allocations: 0 / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3505, allocations: 56.38 kB / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3505, allocations: 3.062 kB / 0.6081 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3506, allocations: 26.23 kB / 0.6082 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3506, allocations: 5.812 kB / 0.6082 GB, free: 40.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.974e-05/0.3507, allocations: 170.5 kB / 0.6083 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.3508, allocations: 37.59 kB / 0.6084 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.3509, allocations: 36.45 kB / 0.6084 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3509, allocations: 5.531 kB / 0.6084 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3509, allocations: 0 / 0.6084 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3509, allocations: 3.281 kB / 0.6084 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.3511, allocations: 377.3 kB / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3511, allocations: 0 / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.3514, allocations: 57.03 kB / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3514, allocations: 3.281 kB / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3514, allocations: 7.438 kB / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3514, allocations: 0 / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3514, allocations: 0.5 kB / 0.6088 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.3518, allocations: 394.9 kB / 0.6092 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3519, allocations: 119.3 kB / 0.6093 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.3519, allocations: 4.625 kB / 0.6093 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3521, allocations: 17.27 kB / 0.6094 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.3521, allocations: 13.27 kB / 0.6094 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3521, allocations: 5.75 kB / 0.6094 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002163/0.3523, allocations: 302 kB / 0.6097 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3523, allocations: 0 / 0.6097 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002529/0.3526, allocations: 73.78 kB / 0.6097 GB, free: 39.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.741e-05/0.3527, allocations: 112.8 kB / 0.6098 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.353, allocations: 160.2 kB / 0.61 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.353, allocations: 0 / 0.61 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3531, allocations: 80.08 kB / 0.6101 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.3536, allocations: 94.5 kB / 0.6102 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.3544, allocations: 0.8923 MB / 0.611 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.3546, allocations: 0.7965 MB / 0.6118 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.407e-05/0.3547, allocations: 35.28 kB / 0.6118 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.3547, allocations: 24.69 kB / 0.6119 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.3547, allocations: 0 / 0.6119 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.005152/0.3599, allocations: 3.585 MB / 0.6154 GB, free: 37.96 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)