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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001234/0.001233, 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.001309/0.001309, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9264/0.9264, allocations: 143.1 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.91 kB / 0.5144 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1492, allocations: 82.04 MB / 0.5945 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002438/0.1516, allocations: 1.423 MB / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1555, allocations: 2.837 MB / 0.5986 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.1555, allocations: 0 / 0.5986 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.1555, allocations: 11.92 kB / 0.5986 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.1556, allocations: 11.86 kB / 0.5987 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.1589, allocations: 1.562 MB / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.159, allocations: 43.67 kB / 0.6002 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.159, allocations: 7.984 kB / 0.6002 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.1591, allocations: 11.94 kB / 0.6002 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.516e-05/0.1591, allocations: 15.88 kB / 0.6003 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1591, allocations: 0 / 0.6003 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.1609, allocations: 1.427 MB / 0.6016 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1609, allocations: 7.875 kB / 0.6017 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.161, allocations: 23.86 kB / 0.6017 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1621, allocations: 1.068 MB / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1622, allocations: 0 / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1622, allocations: 0 / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1622, allocations: 0 / 0.6027 GB, free: 0.9375 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.0005171/0.1627, allocations: 0.5145 MB / 0.6032 GB, free: 384 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1627, allocations: 12.03 kB / 0.6032 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.1628, allocations: 110 kB / 0.6033 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.1629, allocations: 84.22 kB / 0.6034 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2552/0.4181, allocations: 242.4 kB / 0.6037 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.4181, allocations: 152.8 kB / 0.6038 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4182, allocations: 153.6 kB / 0.6039 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.254e-05/0.4182, allocations: 105.5 kB / 0.604 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4183, allocations: 77.62 kB / 0.6041 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.4183, allocations: 150.6 kB / 0.6043 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.4183, allocations: 152.4 kB / 0.6044 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.4184, allocations: 156.5 kB / 0.6046 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.4186, allocations: 468.2 kB / 0.605 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/0.4186, allocations: 167.7 kB / 0.6052 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.4187, allocations: 82.3 kB / 0.6052 GB, free: 42.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.4187, allocations: 80.89 kB / 0.6053 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4187, allocations: 109.2 kB / 0.6054 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.4187, allocations: 0 / 0.6054 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.364e-05/0.4188, allocations: 35.33 kB / 0.6055 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4189, allocations: 132.3 kB / 0.6056 GB, free: 41.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.419, allocations: 135.3 kB / 0.6057 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.419, allocations: 26.58 kB / 0.6057 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.4191, allocations: 91.11 kB / 0.6058 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.4191, allocations: 1.094 kB / 0.6058 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.4191, allocations: 20.38 kB / 0.6058 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.4192, allocations: 318.9 kB / 0.6061 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.4192, allocations: 5 kB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.4192, allocations: 4.031 kB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.4193, allocations: 16.3 kB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4193, allocations: 3.844 kB / 0.6062 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.4194, allocations: 49.62 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4194, allocations: 4.875 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.4194, allocations: 3.562 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4195, allocations: 2.438 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.4195, allocations: 3.938 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4195, allocations: 1.562 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.4195, allocations: 8.141 kB / 0.6062 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4195, allocations: 7.969 kB / 0.6063 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 6.201e-05/0.4196, allocations: 182.8 kB / 0.6064 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.4196, allocations: 108 kB / 0.6065 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.4197, allocations: 111.5 kB / 0.6066 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.4197, allocations: 186.5 kB / 0.6068 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/0.4197, allocations: 181.3 kB / 0.607 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.4198, allocations: 177.5 kB / 0.6072 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.4199, allocations: 421.4 kB / 0.6076 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.4199, allocations: 104.6 kB / 0.6077 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.42, allocations: 102.4 kB / 0.6078 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/0.42, allocations: 182.2 kB / 0.6079 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.42, allocations: 178 kB / 0.6081 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/0.4201, allocations: 192.7 kB / 0.6083 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.628e-05/0.4201, allocations: 183.6 kB / 0.6085 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.571e-05/0.4202, allocations: 306.5 kB / 0.6088 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.4202, allocations: 187.8 kB / 0.6089 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.4203, allocations: 185.3 kB / 0.6091 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.4203, allocations: 104.9 kB / 0.6092 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.4204, allocations: 185.9 kB / 0.6094 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4204, allocations: 106.5 kB / 0.6095 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.4204, allocations: 101.7 kB / 0.6096 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4204, allocations: 3.312 kB / 0.6096 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008126/0.4213, allocations: 270.5 kB / 0.6098 GB, free: 37.66 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.001007/0.4223, allocations: 1.157 MB / 0.611 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.4224, allocations: 41.73 kB / 0.611 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4224, allocations: 0 / 0.611 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4224, allocations: 0 / 0.611 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.0002835/0.4227, allocations: 468.5 kB / 0.6115 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.4236, allocations: 1.581 MB / 0.613 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4237, allocations: 0.6835 MB / 0.6137 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.136e-05/0.4238, allocations: 0 / 0.6137 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.4238, allocations: 12.81 kB / 0.6137 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/0.4238, allocations: 3.031 kB / 0.6137 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.4456, allocations: 6.938 MB / 0.6205 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.662, allocations: 15.11 kB / 0.6205 GB, free: 33.64 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)