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-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.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.001729/0.001729, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001788/0.001788, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.466/1.466, allocations: 222.9 MB / 240.6 MB, free: 4.508 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 1.04/1.04, allocations: 143.3 MB / 434 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 0.5146 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1903, allocations: 82.03 MB / 0.5947 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004714/0.1951, allocations: 3.074 MB / 0.5977 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.198, allocations: 2.102 MB / 0.5998 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1982, allocations: 11.94 kB / 0.5998 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.1996, allocations: 474.1 kB / 0.6003 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1999, allocations: 135.1 kB / 0.6004 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.2, allocations: 51.97 kB / 0.6004 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.2005, allocations: 445.9 kB / 0.6009 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2008, allocations: 155.2 kB / 0.601 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.2011, allocations: 147.4 kB / 0.6012 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.2013, allocations: 195.2 kB / 0.6013 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.2014, allocations: 36 kB / 0.6014 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.2014, allocations: 36 kB / 0.6014 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2016, allocations: 95.62 kB / 0.6015 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.2018, allocations: 214.9 kB / 0.6017 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.2023, allocations: 474.7 kB / 0.6022 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2023, allocations: 0 / 0.6022 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2023, allocations: 0 / 0.6022 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2023, allocations: 7.922 kB / 0.6022 GB, free: 2.051 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.00112/0.2035, allocations: 0.7122 MB / 0.6029 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2035, allocations: 8.031 kB / 0.6029 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.2036, allocations: 44.38 kB / 0.6029 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.2041, allocations: 370.1 kB / 0.6033 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2041, allocations: 16.81 kB / 0.6033 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2042, allocations: 20.38 kB / 0.6033 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.2046, allocations: 207.6 kB / 0.6035 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2047, allocations: 4 kB / 0.6035 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2047, allocations: 8 kB / 0.6035 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2047, allocations: 4 kB / 0.6035 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.2051, allocations: 169.6 kB / 0.6037 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3624/0.5675, allocations: 0.8568 MB / 0.6045 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.5678, allocations: 154.6 kB / 0.6047 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.568, allocations: 115.8 kB / 0.6048 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.568, allocations: 2.719 kB / 0.6048 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.568, allocations: 31.25 kB / 0.6048 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.295e-06/0.568, allocations: 1.125 kB / 0.6048 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005453/0.5686, allocations: 254.4 kB / 0.605 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.5686, allocations: 55 kB / 0.6051 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.569, allocations: 416.6 kB / 0.6055 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5691, allocations: 30.33 kB / 0.6055 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.5692, allocations: 207.8 kB / 0.6057 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.5692, allocations: 63.8 kB / 0.6058 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.5693, allocations: 33.84 kB / 0.6058 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.5693, allocations: 350.7 kB / 0.6062 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.5695, allocations: 58.62 kB / 0.6062 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.5696, allocations: 56.3 kB / 0.6063 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.5699, allocations: 140.1 kB / 0.6064 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5699, allocations: 0.625 kB / 0.6064 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003334/0.5703, allocations: 209.3 kB / 0.6066 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5703, allocations: 4 kB / 0.6066 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5703, allocations: 5.297 kB / 0.6066 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5703, allocations: 0.5312 kB / 0.6066 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.5706, allocations: 52.97 kB / 0.6067 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5706, allocations: 2.656 kB / 0.6067 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.5708, allocations: 24.64 kB / 0.6067 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5708, allocations: 5.531 kB / 0.6067 GB, free: 43.18 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.0001342/0.5709, allocations: 168.8 kB / 0.6068 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.571, allocations: 35.69 kB / 0.6069 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.5711, allocations: 38.39 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5711, allocations: 2.719 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5711, allocations: 0.75 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5711, allocations: 3.469 kB / 0.6069 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.5715, allocations: 381.7 kB / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5715, allocations: 2.781 kB / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.5717, allocations: 53.67 kB / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5717, allocations: 0 / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.5718, allocations: 5.5 kB / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5718, allocations: 0.625 kB / 0.6073 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5718, allocations: 3.391 kB / 0.6074 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.5723, allocations: 387.8 kB / 0.6077 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.5724, allocations: 118.8 kB / 0.6078 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.5725, allocations: 6.344 kB / 0.6078 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.5726, allocations: 12.45 kB / 0.6079 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.5727, allocations: 15.5 kB / 0.6079 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5727, allocations: 5.938 kB / 0.6079 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002559/0.5729, allocations: 302.6 kB / 0.6082 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.573, allocations: 0 / 0.6082 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002952/0.5733, allocations: 72.88 kB / 0.6082 GB, free: 42.47 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.000124/0.5734, allocations: 114.3 kB / 0.6083 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.5738, allocations: 156.3 kB / 0.6085 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5738, allocations: 0 / 0.6085 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5739, allocations: 76.81 kB / 0.6086 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.5745, allocations: 90.09 kB / 0.6086 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.5757, allocations: 0.9106 MB / 0.6095 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.5759, allocations: 0.8023 MB / 0.6103 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.576, allocations: 24.5 kB / 0.6103 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.576, allocations: 0 / 0.6103 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.006007/0.582, allocations: 4.368 MB / 0.6146 GB, free: 40.84 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)