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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00129/0.00129, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.9023/0.9023, allocations: 143 MB / 433 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 64.09 kB / 0.5137 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1387, allocations: 82.05 MB / 0.5938 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003707/0.1425, allocations: 3.063 MB / 0.5968 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1448, allocations: 2.106 MB / 0.5988 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1449, allocations: 11.94 kB / 0.5988 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1461, allocations: 470.1 kB / 0.5993 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1463, allocations: 135.1 kB / 0.5994 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.1464, allocations: 47.97 kB / 0.5995 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.1468, allocations: 473.8 kB / 0.5999 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.147, allocations: 127.9 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.1472, allocations: 143.4 kB / 0.6002 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1474, allocations: 183.2 kB / 0.6003 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1474, allocations: 23.94 kB / 0.6004 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.1475, allocations: 24 kB / 0.6004 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.1476, allocations: 91.61 kB / 0.6005 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1478, allocations: 206.9 kB / 0.6007 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.1482, allocations: 0.5527 MB / 0.6012 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1482, allocations: 4 kB / 0.6012 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.82e-07/0.1482, allocations: 0 / 0.6012 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.026e-06/0.1482, allocations: 0 / 0.6012 GB, free: 2.223 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.0009048/0.1491, allocations: 0.7045 MB / 0.6019 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1491, allocations: 8.031 kB / 0.6019 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.1492, allocations: 58.72 kB / 0.602 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.1493, allocations: 44.38 kB / 0.602 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.1497, allocations: 370.1 kB / 0.6024 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1497, allocations: 16.81 kB / 0.6024 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.1497, allocations: 20.38 kB / 0.6024 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.1501, allocations: 203.4 kB / 0.6026 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1501, allocations: 0 / 0.6026 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1501, allocations: 11.98 kB / 0.6026 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1501, allocations: 11.94 kB / 0.6026 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.1505, allocations: 161.7 kB / 0.6028 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.3675, allocations: 0.858 MB / 0.6036 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3678, allocations: 157 kB / 0.6038 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.368, allocations: 111.4 kB / 0.6039 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.368, allocations: 3.688 kB / 0.6039 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.368, allocations: 34.78 kB / 0.6039 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.445e-06/0.368, allocations: 0 / 0.6039 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0004847/0.3685, allocations: 259.3 kB / 0.6042 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.3685, allocations: 52.03 kB / 0.6042 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.3689, allocations: 419.9 kB / 0.6046 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3689, allocations: 31.45 kB / 0.6046 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.369, allocations: 199.2 kB / 0.6048 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.369, allocations: 68.73 kB / 0.6049 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.3691, allocations: 30.22 kB / 0.6049 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.3692, allocations: 354.3 kB / 0.6053 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3693, allocations: 57.66 kB / 0.6053 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3694, allocations: 62.53 kB / 0.6054 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3696, allocations: 132.5 kB / 0.6055 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3696, allocations: 0.5625 kB / 0.6055 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002967/0.3699, allocations: 206.8 kB / 0.6057 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.37, allocations: 5.781 kB / 0.6057 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.37, allocations: 6.281 kB / 0.6057 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.37, allocations: 0 / 0.6057 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.3702, allocations: 53.47 kB / 0.6058 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3702, allocations: 5.312 kB / 0.6058 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.3704, allocations: 23.89 kB / 0.6058 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3704, allocations: 10.47 kB / 0.6058 GB, free: 43.33 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.000102/0.3705, allocations: 166.7 kB / 0.606 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.3706, allocations: 31.81 kB / 0.606 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.3706, allocations: 39.83 kB / 0.606 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3706, allocations: 3.281 kB / 0.606 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3706, allocations: 0.6562 kB / 0.606 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3706, allocations: 0 / 0.606 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.3709, allocations: 380 kB / 0.6064 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3709, allocations: 2.719 kB / 0.6064 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.3712, allocations: 56.02 kB / 0.6064 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3712, allocations: 3.812 kB / 0.6064 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3712, allocations: 2.25 kB / 0.6064 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3712, allocations: 5.219 kB / 0.6065 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3712, allocations: 3.328 kB / 0.6065 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.3717, allocations: 380.9 kB / 0.6068 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.3717, allocations: 128 kB / 0.6069 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3718, allocations: 6.969 kB / 0.6069 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3719, allocations: 10.25 kB / 0.607 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.372, allocations: 13.28 kB / 0.607 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.372, allocations: 4.719 kB / 0.607 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002262/0.3722, allocations: 304 kB / 0.6073 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3722, allocations: 0 / 0.6073 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002648/0.3725, allocations: 74.72 kB / 0.6073 GB, free: 42.62 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.0005877/0.3731, allocations: 0.9202 MB / 0.6082 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3734, allocations: 149.7 kB / 0.6084 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3734, allocations: 0 / 0.6084 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3735, allocations: 80.55 kB / 0.6085 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3741, allocations: 85.14 kB / 0.6085 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.3774, allocations: 3.643 MB / 0.6121 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3776, allocations: 0.7966 MB / 0.6129 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.3777, allocations: 42.44 kB / 0.6129 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3779, allocations: 116 kB / 0.613 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3779, allocations: 3.719 kB / 0.613 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.3937, allocations: 7.518 MB / 0.6204 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.3939, allocations: 277.9 kB / 0.6206 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.128, allocations: 0 / 0.6206 GB, free: 38.25 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)