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.0009056/0.0009055, allocations: 91.92 kB / 16.02 MB, free: 80 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.001228/0.001228, allocations: 177 kB / 16.92 MB, free: 6.652 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.507/1.507, allocations: 223.3 MB / 241 MB, free: 5.305 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 1.032/1.032, allocations: 143.2 MB / 435.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 12 kB / 0.5171 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1823, allocations: 83.41 MB / 0.5986 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.0033/0.1857, allocations: 2.693 MB / 0.6012 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.1883, allocations: 2.079 MB / 0.6032 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1884, allocations: 4 kB / 0.6032 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.1897, allocations: 478 kB / 0.6037 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1899, allocations: 139.1 kB / 0.6038 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.1901, allocations: 51.95 kB / 0.6039 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.1905, allocations: 468.8 kB / 0.6043 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1908, allocations: 127.9 kB / 0.6044 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1909, allocations: 135.4 kB / 0.6046 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1912, allocations: 167.2 kB / 0.6047 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1912, allocations: 16 kB / 0.6047 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.1913, allocations: 20 kB / 0.6047 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1914, allocations: 83.62 kB / 0.6048 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1916, allocations: 224.6 kB / 0.605 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1919, allocations: 458.6 kB / 0.6055 GB, free: 492 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.192, allocations: 0 / 0.6055 GB, free: 492 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.825e-06/0.192, allocations: 4 kB / 0.6055 GB, free: 488 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.192, allocations: 0 / 0.6055 GB, free: 488 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.3344/0.5264, allocations: 0.6438 MB / 0.6061 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5265, allocations: 9.859 kB / 0.6061 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.5266, allocations: 50.69 kB / 0.6062 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.5271, allocations: 366.7 kB / 0.6065 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.5272, allocations: 16.75 kB / 0.6065 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.5273, allocations: 23.84 kB / 0.6066 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.5279, allocations: 208.7 kB / 0.6068 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5279, allocations: 0 / 0.6068 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.528, allocations: 12.56 kB / 0.6068 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.528, allocations: 6.297 kB / 0.6068 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.5284, allocations: 176.8 kB / 0.6069 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009924/0.5294, allocations: 0.876 MB / 0.6078 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.5296, allocations: 157.9 kB / 0.6079 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.5299, allocations: 114.8 kB / 0.6081 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.5299, allocations: 4.203 kB / 0.6081 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5299, allocations: 37.41 kB / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.5299, allocations: 3.875 kB / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005612/0.5305, allocations: 265.1 kB / 0.6084 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.5305, allocations: 59.14 kB / 0.6084 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.5309, allocations: 421.8 kB / 0.6088 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5309, allocations: 31.02 kB / 0.6088 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.531, allocations: 207.3 kB / 0.609 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.5311, allocations: 59.52 kB / 0.6091 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.5311, allocations: 20.39 kB / 0.6091 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.5312, allocations: 350.2 kB / 0.6094 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5313, allocations: 62.88 kB / 0.6095 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5315, allocations: 63.12 kB / 0.6096 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.5318, allocations: 146.7 kB / 0.6097 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5318, allocations: 0 / 0.6097 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003342/0.5321, allocations: 222.7 kB / 0.6099 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5321, allocations: 4 kB / 0.6099 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5321, allocations: 0 / 0.6099 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5321, allocations: 4.719 kB / 0.6099 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.5324, allocations: 57.69 kB / 0.61 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5324, allocations: 7.391 kB / 0.61 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.5326, allocations: 28.53 kB / 0.61 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.5326, allocations: 3.094 kB / 0.61 GB, free: 39.75 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.0001159/0.5327, allocations: 161.3 kB / 0.6102 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.5327, allocations: 40.84 kB / 0.6102 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.5328, allocations: 44.42 kB / 0.6103 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5328, allocations: 6.375 kB / 0.6103 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5328, allocations: 0 / 0.6103 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5328, allocations: 6.531 kB / 0.6103 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.5332, allocations: 378.6 kB / 0.6106 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5332, allocations: 0 / 0.6106 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.5334, allocations: 53.67 kB / 0.6107 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5334, allocations: 1.312 kB / 0.6107 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5334, allocations: 10.12 kB / 0.6107 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5334, allocations: 4.594 kB / 0.6107 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5334, allocations: 4 kB / 0.6107 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.534, allocations: 389.7 kB / 0.6111 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.5341, allocations: 121.7 kB / 0.6112 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.5341, allocations: 3.75 kB / 0.6112 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.5343, allocations: 17.53 kB / 0.6112 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.5343, allocations: 13.86 kB / 0.6112 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.5344, allocations: 5.625 kB / 0.6112 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002699/0.5346, allocations: 302.2 kB / 0.6115 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5346, allocations: 4.062 kB / 0.6115 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002799/0.5349, allocations: 75.72 kB / 0.6116 GB, free: 39.03 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.0001125/0.535, allocations: 106 kB / 0.6117 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5354, allocations: 158.7 kB / 0.6118 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5354, allocations: 0 / 0.6118 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.5355, allocations: 84.25 kB / 0.6119 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.5361, allocations: 86.67 kB / 0.612 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.5373, allocations: 0.9711 MB / 0.613 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.5375, allocations: 0.7937 MB / 0.6137 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.5375, allocations: 26.78 kB / 0.6138 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5376, allocations: 0 / 0.6138 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.005426/0.543, allocations: 4.307 MB / 0.618 GB, free: 37.36 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)