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.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 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.001923/0.001923, allocations: 193 kB / 16.53 MB, free: 6.664 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.9966/0.9966, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.5142 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 82.04 MB / 0.5943 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004599/0.1354, allocations: 3.017 MB / 0.5973 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1387, allocations: 2.145 MB / 0.5994 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.1391, allocations: 7.938 kB / 0.5994 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.1412, allocations: 0.4938 MB / 0.5998 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.1418, allocations: 146.8 kB / 0.6 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1421, allocations: 59.94 kB / 0.6 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007854/0.1429, allocations: 445.9 kB / 0.6005 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.1432, allocations: 151.2 kB / 0.6006 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.1436, allocations: 155.4 kB / 0.6008 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1439, allocations: 183.1 kB / 0.6009 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.144, allocations: 36 kB / 0.601 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.1441, allocations: 36 kB / 0.601 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.1442, allocations: 91.67 kB / 0.6011 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.1444, allocations: 218.9 kB / 0.6013 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.1449, allocations: 0.5683 MB / 0.6019 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1449, allocations: 0 / 0.6019 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.717e-06/0.145, allocations: 0 / 0.6019 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.145, allocations: 7.938 kB / 0.6019 GB, free: 1.789 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.001057/0.146, allocations: 0.6967 MB / 0.6025 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1461, allocations: 8.031 kB / 0.6026 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.1462, allocations: 48.38 kB / 0.6026 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1466, allocations: 378.1 kB / 0.603 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1467, allocations: 16.81 kB / 0.603 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1467, allocations: 20.38 kB / 0.603 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.1471, allocations: 203.6 kB / 0.6032 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1471, allocations: 0 / 0.6032 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1471, allocations: 8 kB / 0.6032 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1471, allocations: 4 kB / 0.6032 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.1475, allocations: 165.6 kB / 0.6034 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2315/0.379, allocations: 0.8696 MB / 0.6042 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.3793, allocations: 160.2 kB / 0.6044 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.3795, allocations: 109.3 kB / 0.6045 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3795, allocations: 3.344 kB / 0.6045 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3795, allocations: 39.61 kB / 0.6045 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.3795, allocations: 0 / 0.6045 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005171/0.3801, allocations: 252.5 kB / 0.6047 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3801, allocations: 52.41 kB / 0.6048 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.3805, allocations: 418.2 kB / 0.6052 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3805, allocations: 27.14 kB / 0.6052 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.3806, allocations: 213.8 kB / 0.6054 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.3806, allocations: 61.14 kB / 0.6055 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.3807, allocations: 34.22 kB / 0.6055 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.3807, allocations: 356.8 kB / 0.6059 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3809, allocations: 53.56 kB / 0.6059 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.381, allocations: 61.56 kB / 0.606 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3813, allocations: 133.3 kB / 0.6061 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3813, allocations: 1.969 kB / 0.6061 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003236/0.3816, allocations: 207.7 kB / 0.6063 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3816, allocations: 8.656 kB / 0.6063 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3816, allocations: 0 / 0.6063 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3817, allocations: 0 / 0.6063 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.3819, allocations: 59.78 kB / 0.6064 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3819, allocations: 2.906 kB / 0.6064 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.382, allocations: 17.5 kB / 0.6064 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3821, allocations: 10.59 kB / 0.6064 GB, free: 43.29 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.0001054/0.3822, allocations: 157.2 kB / 0.6065 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.3822, allocations: 37.19 kB / 0.6066 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3823, allocations: 40.97 kB / 0.6066 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3823, allocations: 2.375 kB / 0.6066 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3823, allocations: 0 / 0.6066 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3823, allocations: 8.062 kB / 0.6066 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3826, allocations: 374.8 kB / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3826, allocations: 4.5 kB / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3829, allocations: 57.36 kB / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3829, allocations: 0.7656 kB / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3829, allocations: 5.312 kB / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3829, allocations: 0 / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3829, allocations: 3.469 kB / 0.607 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.3834, allocations: 385.7 kB / 0.6074 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3835, allocations: 115 kB / 0.6075 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.3835, allocations: 6.562 kB / 0.6075 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3837, allocations: 7.453 kB / 0.6075 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3837, allocations: 15.72 kB / 0.6076 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3837, allocations: 7.312 kB / 0.6076 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000237/0.384, allocations: 304 kB / 0.6078 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.384, allocations: 3.125 kB / 0.6079 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002926/0.3843, allocations: 74.88 kB / 0.6079 GB, free: 42.59 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 9.088e-05/0.3844, allocations: 101.6 kB / 0.608 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3847, allocations: 153 kB / 0.6082 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3848, allocations: 2.75 kB / 0.6082 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3849, allocations: 83.08 kB / 0.6082 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.3854, allocations: 93.72 kB / 0.6083 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.3864, allocations: 0.7715 MB / 0.6091 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.3866, allocations: 0.7986 MB / 0.6099 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.3867, allocations: 34.34 kB / 0.6099 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.3868, allocations: 24.06 kB / 0.6099 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3868, allocations: 0 / 0.6099 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.006185/0.393, allocations: 3.964 MB / 0.6138 GB, free: 41.28 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)