Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001517/0.001517, 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.002192/0.002192, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.9839/0.9839, allocations: 143.1 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.91 kB / 0.5143 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 82.04 MB / 0.5945 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003702/0.1541, allocations: 1.418 MB / 0.5959 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.1587, allocations: 2.845 MB / 0.5986 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.1588, allocations: 0 / 0.5986 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.1589, allocations: 3.938 kB / 0.5986 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.1589, allocations: 11.86 kB / 0.5986 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.1628, allocations: 1.565 MB / 0.6002 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.124e-05/0.1629, allocations: 39.69 kB / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.163, allocations: 4 kB / 0.6002 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.163, allocations: 19.92 kB / 0.6002 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.163, allocations: 19.88 kB / 0.6003 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.163, allocations: 0 / 0.6003 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.1653, allocations: 1.427 MB / 0.6016 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.1654, allocations: 3.938 kB / 0.6016 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.1654, allocations: 19.88 kB / 0.6017 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1671, allocations: 1.068 MB / 0.6027 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1671, allocations: 0 / 0.6027 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1671, allocations: 0 / 0.6027 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1671, allocations: 0 / 0.6027 GB, free: 0.9766 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006484/0.1678, allocations: 0.5301 MB / 0.6032 GB, free: 408 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1678, allocations: 8.031 kB / 0.6032 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.1679, allocations: 110 kB / 0.6033 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.1679, allocations: 80.22 kB / 0.6034 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2544/0.4223, allocations: 247.2 kB / 0.6037 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.4224, allocations: 150.9 kB / 0.6038 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.4224, allocations: 155.1 kB / 0.6039 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.222e-05/0.4225, allocations: 101 kB / 0.604 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4225, allocations: 77.44 kB / 0.6041 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.4225, allocations: 154 kB / 0.6043 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.4226, allocations: 154 kB / 0.6044 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.4226, allocations: 156.2 kB / 0.6046 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.4228, allocations: 460.7 kB / 0.605 GB, free: 42.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.4229, allocations: 173.3 kB / 0.6052 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.4229, allocations: 80.92 kB / 0.6052 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4229, allocations: 79.8 kB / 0.6053 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.423, allocations: 109.8 kB / 0.6054 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.423, allocations: 1.672 kB / 0.6054 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.621e-05/0.4231, allocations: 34.56 kB / 0.6055 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.4231, allocations: 131.8 kB / 0.6056 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.4232, allocations: 132.4 kB / 0.6057 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.4232, allocations: 26.33 kB / 0.6057 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.4233, allocations: 89.97 kB / 0.6058 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.4233, allocations: 1.312 kB / 0.6058 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.4233, allocations: 19.19 kB / 0.6058 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.4234, allocations: 317 kB / 0.6061 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.4234, allocations: 6.094 kB / 0.6061 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.4234, allocations: 7.781 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.4235, allocations: 13.03 kB / 0.6062 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4235, allocations: 2.812 kB / 0.6062 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/0.4236, allocations: 50.45 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4236, allocations: 4.469 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.4237, allocations: 3.375 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4237, allocations: 2.812 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.4237, allocations: 4.5 kB / 0.6062 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4237, allocations: 3.094 kB / 0.6062 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.4237, allocations: 8.641 kB / 0.6062 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4237, allocations: 0 / 0.6062 GB, free: 41.15 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.977e-05/0.4238, allocations: 185.4 kB / 0.6064 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.4238, allocations: 115.7 kB / 0.6065 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.4239, allocations: 114.2 kB / 0.6066 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.4239, allocations: 182.2 kB / 0.6068 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.4239, allocations: 180.8 kB / 0.607 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.424, allocations: 183.9 kB / 0.6072 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4241, allocations: 411 kB / 0.6076 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.4241, allocations: 106 kB / 0.6077 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.4242, allocations: 104.8 kB / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/0.4242, allocations: 178.8 kB / 0.6079 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4242, allocations: 186.8 kB / 0.6081 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.283e-05/0.4243, allocations: 184 kB / 0.6083 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-05/0.4243, allocations: 182.2 kB / 0.6085 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.77e-05/0.4244, allocations: 308.9 kB / 0.6087 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.4244, allocations: 191.9 kB / 0.6089 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4244, allocations: 179.8 kB / 0.6091 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.4245, allocations: 111.8 kB / 0.6092 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.4245, allocations: 180 kB / 0.6094 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.4246, allocations: 104.3 kB / 0.6095 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.4246, allocations: 101.3 kB / 0.6096 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.71e-07/0.4246, allocations: 0 / 0.6096 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007388/0.4253, allocations: 279 kB / 0.6098 GB, free: 37.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001185/0.4265, allocations: 1.152 MB / 0.611 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.796e-05/0.4266, allocations: 39.86 kB / 0.611 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4267, allocations: 3.5 kB / 0.611 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.4267, allocations: 0 / 0.611 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.427, allocations: 470 kB / 0.6115 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4281, allocations: 1.585 MB / 0.613 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.636e-05/0.4282, allocations: 0.6802 MB / 0.6137 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.4282, allocations: 0 / 0.6137 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.4282, allocations: 17.08 kB / 0.6137 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.4282, allocations: 0 / 0.6137 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.4497, allocations: 6.911 MB / 0.6204 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.564, allocations: 9.875 kB / 0.6204 GB, free: 33.65 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)