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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 108.2 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 216.2 kB / 19.43 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9216/0.9216, allocations: 145 MB / 453.8 MB, free: 0.7031 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 72.08 kB / 0.6281 GB, free: 10.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1961, allocations: 87.83 MB / 0.7139 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002701/0.1988, allocations: 1.438 MB / 0.7153 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004619/0.2035, allocations: 2.931 MB / 0.7182 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.2035, allocations: 0 / 0.7182 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.2035, allocations: 3.938 kB / 0.7182 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.2036, allocations: 15.84 kB / 0.7182 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.2078, allocations: 1.637 MB / 0.7198 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2079, allocations: 43.73 kB / 0.7198 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.2079, allocations: 0 / 0.7198 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.208, allocations: 15.94 kB / 0.7198 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.515e-05/0.208, allocations: 19.86 kB / 0.7199 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.208, allocations: 0 / 0.7199 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.2105, allocations: 1.556 MB / 0.7214 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.2105, allocations: 3.984 kB / 0.7214 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2106, allocations: 19.88 kB / 0.7214 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.212, allocations: 1.091 MB / 0.7225 GB, free: 9.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2121, allocations: 0 / 0.7225 GB, free: 9.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2121, allocations: 0 / 0.7225 GB, free: 9.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2121, allocations: 0 / 0.7225 GB, free: 9.934 MB / 0.545 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.000667/0.2127, allocations: 0.5402 MB / 0.723 GB, free: 9.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2128, allocations: 8.031 kB / 0.723 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.2128, allocations: 110 kB / 0.7231 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.2129, allocations: 88.16 kB / 0.7232 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.2131, allocations: 243.6 kB / 0.7234 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.2131, allocations: 150.9 kB / 0.7236 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.2132, allocations: 154.9 kB / 0.7237 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.436e-05/0.2133, allocations: 112.9 kB / 0.7238 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.2133, allocations: 79.28 kB / 0.7239 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.2134, allocations: 150.6 kB / 0.724 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.2134, allocations: 150.6 kB / 0.7242 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.2135, allocations: 158.4 kB / 0.7243 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.2138, allocations: 465.9 kB / 0.7248 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.2139, allocations: 165.1 kB / 0.7249 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.2139, allocations: 80.14 kB / 0.725 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.214, allocations: 79.22 kB / 0.7251 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.214, allocations: 121.8 kB / 0.7252 GB, free: 6.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.214, allocations: 0 / 0.7252 GB, free: 6.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.554e-05/0.2141, allocations: 29.66 kB / 0.7252 GB, free: 6.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2142, allocations: 130.7 kB / 0.7254 GB, free: 6.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2143, allocations: 136 kB / 0.7255 GB, free: 6.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2143, allocations: 25.7 kB / 0.7255 GB, free: 6.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.2144, allocations: 92.09 kB / 0.7256 GB, free: 6.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.2144, allocations: 4 kB / 0.7256 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.2144, allocations: 17.7 kB / 0.7256 GB, free: 6.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2145, allocations: 318.8 kB / 0.7259 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.2146, allocations: 4 kB / 0.7259 GB, free: 6.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.2146, allocations: 0 / 0.7259 GB, free: 6.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.2146, allocations: 24.78 kB / 0.7259 GB, free: 6.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2146, allocations: 0 / 0.7259 GB, free: 6.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.2148, allocations: 45.64 kB / 0.726 GB, free: 6.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2148, allocations: 12 kB / 0.726 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.2148, allocations: 4 kB / 0.726 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2148, allocations: 0 / 0.726 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-06/0.2148, allocations: 3.984 kB / 0.726 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2148, allocations: 0 / 0.726 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.2148, allocations: 7.953 kB / 0.726 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2148, allocations: 48 / 0.726 GB, free: 6.043 MB / 0.545 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 0.0001156/0.2149, allocations: 181.1 kB / 0.7262 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.215, allocations: 116.8 kB / 0.7263 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.2151, allocations: 112.9 kB / 0.7264 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/0.2152, allocations: 184.2 kB / 0.7266 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/0.2152, allocations: 184.2 kB / 0.7268 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.237e-05/0.2153, allocations: 176.3 kB / 0.7269 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2156, allocations: 417.1 kB / 0.7273 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/0.2156, allocations: 105 kB / 0.7274 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.2157, allocations: 109 kB / 0.7275 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/0.2157, allocations: 184.2 kB / 0.7277 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/0.2158, allocations: 180.3 kB / 0.7279 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.2159, allocations: 180.2 kB / 0.728 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.059e-05/0.216, allocations: 176.3 kB / 0.7282 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.2161, allocations: 323.6 kB / 0.7285 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.2162, allocations: 182 kB / 0.7287 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.2163, allocations: 188.1 kB / 0.7289 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.2164, allocations: 105 kB / 0.729 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.2165, allocations: 188.2 kB / 0.7292 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.2165, allocations: 101 kB / 0.7293 GB, free: 2.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.2166, allocations: 101 kB / 0.7293 GB, free: 2.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2166, allocations: 4 kB / 0.7294 GB, free: 2.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007942/0.2174, allocations: 287 kB / 0.7296 GB, free: 2.117 MB / 0.545 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.001378/0.2188, allocations: 1.183 MB / 0.7308 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.2189, allocations: 33.7 kB / 0.7308 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2189, allocations: 0 / 0.7308 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2189, allocations: 0 / 0.7308 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.2193, allocations: 463.8 kB / 0.7313 GB, free: 420 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2207, allocations: 1.592 MB / 0.7328 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.221, allocations: 0.6807 MB / 0.7335 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.29e-05/0.221, allocations: 0 / 0.7335 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2211, allocations: 25.88 kB / 0.7335 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2211, allocations: 0 / 0.7335 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.2533, allocations: 7.148 MB / 0.7405 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/8.719, allocations: 14.89 kB / 0.7405 GB, free: 7.07 MB / 0.5606 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.174519603999215] Failed to read output from testmodel.py, exit status != 0: 8.811631657008547 9.149156139 8.933136393 Calling exit ...