Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001557/0.001557, allocations: 113.8 kB / 17.12 MB, free: 5.945 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.001706/0.001706, allocations: 208 kB / 20.09 MB, free: 2.996 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9867/0.9867, allocations: 150 MB / 459.5 MB, free: 5.695 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002036/0.002036, allocations: 71.14 kB / 0.6362 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1852, allocations: 89.14 MB / 0.7232 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002847/0.188, allocations: 1.45 MB / 0.7247 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.193, allocations: 2.982 MB / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.193, allocations: 0 / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.193, allocations: 0 / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.1931, allocations: 19.78 kB / 0.7276 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.1971, allocations: 1.639 MB / 0.7292 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1973, allocations: 43.67 kB / 0.7292 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.1973, allocations: 8 kB / 0.7292 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.1973, allocations: 15.94 kB / 0.7293 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.864e-05/0.1974, allocations: 15.92 kB / 0.7293 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1974, allocations: 0 / 0.7293 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.1998, allocations: 1.599 MB / 0.7308 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1998, allocations: 11.92 kB / 0.7308 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1999, allocations: 15.88 kB / 0.7309 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.2014, allocations: 1.134 MB / 0.732 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2014, allocations: 0 / 0.732 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2014, allocations: 4 kB / 0.732 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2014, allocations: 3.938 kB / 0.732 GB, free: 11.09 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.0006927/0.2021, allocations: 0.5363 MB / 0.7325 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2021, allocations: 8.031 kB / 0.7325 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.2022, allocations: 106 kB / 0.7326 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.2023, allocations: 88.11 kB / 0.7327 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2025, allocations: 253.3 kB / 0.7329 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/0.2026, allocations: 158.5 kB / 0.7331 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.2026, allocations: 158.5 kB / 0.7332 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.2027, allocations: 105 kB / 0.7333 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.2028, allocations: 75.28 kB / 0.7334 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.2028, allocations: 158.5 kB / 0.7336 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.2029, allocations: 150.6 kB / 0.7337 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.203, allocations: 154.6 kB / 0.7338 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.2033, allocations: 469.8 kB / 0.7343 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2034, allocations: 173.1 kB / 0.7345 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.2035, allocations: 84.14 kB / 0.7345 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.2035, allocations: 79.28 kB / 0.7346 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.2036, allocations: 105.8 kB / 0.7347 GB, free: 8.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2036, allocations: 0 / 0.7347 GB, free: 8.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.513e-05/0.2037, allocations: 37.59 kB / 0.7347 GB, free: 8.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.2037, allocations: 126.7 kB / 0.7349 GB, free: 7.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.2039, allocations: 138.5 kB / 0.735 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2039, allocations: 25.7 kB / 0.735 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.204, allocations: 96.12 kB / 0.7351 GB, free: 7.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.204, allocations: 0 / 0.7351 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.204, allocations: 17.72 kB / 0.7351 GB, free: 7.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2042, allocations: 326.8 kB / 0.7354 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.2042, allocations: 4 kB / 0.7355 GB, free: 7.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.2042, allocations: 4 kB / 0.7355 GB, free: 7.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.2043, allocations: 16.86 kB / 0.7355 GB, free: 7.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2043, allocations: 0 / 0.7355 GB, free: 7.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000146/0.2044, allocations: 61.61 kB / 0.7355 GB, free: 7.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2045, allocations: 4 kB / 0.7355 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.2045, allocations: 4 kB / 0.7355 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2045, allocations: 0 / 0.7355 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.2045, allocations: 0 / 0.7355 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2045, allocations: 3.984 kB / 0.7355 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.2045, allocations: 3.953 kB / 0.7355 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2045, allocations: 4 kB / 0.7355 GB, free: 7.172 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.0001267/0.2047, allocations: 193.1 kB / 0.7357 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.2047, allocations: 108.9 kB / 0.7358 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.2048, allocations: 112.8 kB / 0.7359 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.294e-05/0.2049, allocations: 180.3 kB / 0.7361 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.973e-05/0.205, allocations: 180.2 kB / 0.7363 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.179e-05/0.2051, allocations: 180.3 kB / 0.7365 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.2054, allocations: 421.1 kB / 0.7369 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.625e-05/0.2055, allocations: 104.9 kB / 0.737 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.2055, allocations: 101 kB / 0.7371 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-05/0.2056, allocations: 188.2 kB / 0.7372 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.2057, allocations: 180.3 kB / 0.7374 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.23e-05/0.2058, allocations: 180.2 kB / 0.7376 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.768e-05/0.2059, allocations: 184.2 kB / 0.7378 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.206, allocations: 315.7 kB / 0.7381 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.2062, allocations: 186 kB / 0.7382 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.2062, allocations: 180.3 kB / 0.7384 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.2063, allocations: 116.9 kB / 0.7385 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.2064, allocations: 176.3 kB / 0.7387 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.2065, allocations: 104.9 kB / 0.7388 GB, free: 3.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.428e-05/0.2066, allocations: 104.8 kB / 0.7389 GB, free: 3.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2066, allocations: 4 kB / 0.7389 GB, free: 3.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008161/0.2074, allocations: 291 kB / 0.7392 GB, free: 3.238 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.001507/0.2089, allocations: 1.197 MB / 0.7403 GB, free: 2.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.209, allocations: 41.64 kB / 0.7404 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.209, allocations: 4 kB / 0.7404 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-06/0.209, allocations: 4 kB / 0.7404 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.2095, allocations: 461.7 kB / 0.7408 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2111, allocations: 1.609 MB / 0.7424 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2114, allocations: 0.6885 MB / 0.7431 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.2115, allocations: 0 / 0.7431 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.2115, allocations: 19.44 kB / 0.7431 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2115, allocations: 0 / 0.7431 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.2447, allocations: 7.327 MB / 0.7502 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.719, allocations: 9.281 kB / 0.7503 GB, free: 7.969 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.8203146380838] Failed to read output from testmodel.py, exit status != 0: 8.79426944302395 8.821615941 8.615221179 Calling exit ...