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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001783/0.001783, allocations: 108 kB / 15.6 MB, free: 132 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.002076/0.002076, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.353/1.353, 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.9571/0.9571, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.5143 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 82.03 MB / 0.5945 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002649/0.1398, allocations: 1.437 MB / 0.5959 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00411/0.1439, allocations: 2.876 MB / 0.5987 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.144, allocations: 0 / 0.5987 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.144, allocations: 3.938 kB / 0.5987 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.1441, allocations: 19.84 kB / 0.5987 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.1478, allocations: 1.592 MB / 0.6002 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.1479, allocations: 39.75 kB / 0.6003 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.1479, allocations: 3.984 kB / 0.6003 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.1479, allocations: 19.94 kB / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.676e-05/0.148, allocations: 15.88 kB / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.148, allocations: 4 kB / 0.6003 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.15, allocations: 1.459 MB / 0.6017 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.15, allocations: 7.984 kB / 0.6018 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.15, allocations: 15.88 kB / 0.6018 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1515, allocations: 1.099 MB / 0.6028 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1516, allocations: 0 / 0.6028 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1516, allocations: 4 kB / 0.6028 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1516, allocations: 4 kB / 0.6029 GB, free: 0.7852 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.0006176/0.1522, allocations: 0.5185 MB / 0.6034 GB, free: 224 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1522, allocations: 12.03 kB / 0.6034 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1523, allocations: 110 kB / 0.6035 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.1524, allocations: 76.22 kB / 0.6035 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2034/0.3557, allocations: 250.6 kB / 0.6038 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3558, allocations: 150.9 kB / 0.6039 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3558, allocations: 154.1 kB / 0.6041 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.672e-05/0.3559, allocations: 103.9 kB / 0.6042 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3559, allocations: 75.94 kB / 0.6043 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3559, allocations: 152.9 kB / 0.6044 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3559, allocations: 150.6 kB / 0.6045 GB, free: 42.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.3559, allocations: 160.6 kB / 0.6047 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.3561, allocations: 471.2 kB / 0.6051 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.3562, allocations: 173 kB / 0.6053 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.3562, allocations: 81.83 kB / 0.6054 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.3562, allocations: 78.81 kB / 0.6055 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3562, allocations: 109 kB / 0.6056 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.3562, allocations: 0 / 0.6056 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.362e-05/0.3563, allocations: 34.3 kB / 0.6056 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3563, allocations: 135.7 kB / 0.6057 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.3564, allocations: 129.5 kB / 0.6059 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.3564, allocations: 29.27 kB / 0.6059 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.3565, allocations: 90.27 kB / 0.606 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.3565, allocations: 2.375 kB / 0.606 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.3565, allocations: 18.06 kB / 0.606 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.513e-05/0.3565, allocations: 322.5 kB / 0.6063 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.3566, allocations: 4 kB / 0.6063 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.3566, allocations: 7.062 kB / 0.6063 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.3566, allocations: 20.42 kB / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3566, allocations: 0 / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.84e-05/0.3567, allocations: 51.39 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3567, allocations: 6.594 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3568, allocations: 3.156 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3568, allocations: 2.812 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.3568, allocations: 7 kB / 0.6064 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3568, allocations: 2.156 kB / 0.6064 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.3568, allocations: 0 / 0.6064 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3568, allocations: 4.656 kB / 0.6064 GB, free: 41.14 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.089e-05/0.3569, allocations: 188.6 kB / 0.6066 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3569, allocations: 113.1 kB / 0.6067 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.3569, allocations: 110.3 kB / 0.6068 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.357, allocations: 183 kB / 0.607 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.357, allocations: 182.4 kB / 0.6071 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.357, allocations: 181.3 kB / 0.6073 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3571, allocations: 417.3 kB / 0.6077 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.3571, allocations: 104.8 kB / 0.6078 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.3571, allocations: 104.8 kB / 0.6079 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/0.3572, allocations: 177.1 kB / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3572, allocations: 183.2 kB / 0.6083 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.3572, allocations: 183.9 kB / 0.6084 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.3572, allocations: 178.1 kB / 0.6086 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.02e-05/0.3573, allocations: 317 kB / 0.6089 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.3573, allocations: 183.7 kB / 0.6091 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3573, allocations: 184 kB / 0.6092 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.3574, allocations: 111.8 kB / 0.6094 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.3574, allocations: 180.3 kB / 0.6095 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3574, allocations: 105.4 kB / 0.6096 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.3575, allocations: 107.3 kB / 0.6097 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3575, allocations: 0.5469 kB / 0.6097 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006398/0.3581, allocations: 283.4 kB / 0.61 GB, free: 37.65 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.0008706/0.359, allocations: 1.179 MB / 0.6112 GB, free: 36.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.3591, allocations: 39.95 kB / 0.6112 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3591, allocations: 0 / 0.6112 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.3591, allocations: 1.219 kB / 0.6112 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3594, allocations: 471.4 kB / 0.6116 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.3602, allocations: 1.601 MB / 0.6132 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.3603, allocations: 0.6839 MB / 0.6139 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.037e-05/0.3603, allocations: 0 / 0.6139 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.3603, allocations: 15.88 kB / 0.6139 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3603, allocations: 0 / 0.6139 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6023/0.9627, allocations: 7.139 MB / 0.6209 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.97, allocations: 9.672 kB / 0.6209 GB, free: 33.62 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)