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.001948/0.001948, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002459/0.002459, allocations: 216.5 kB / 22.99 MB, free: 4.973 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 / 256.8 MB, free: 7.801 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 1.095/1.095, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] 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.002207/0.002207, allocations: 71.69 kB / 0.6412 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1829, allocations: 89.17 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00286/0.1858, allocations: 1.418 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.1904, allocations: 2.669 MB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.1905, allocations: 0 / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.1905, allocations: 11.86 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.1906, allocations: 19.86 kB / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.195, allocations: 1.638 MB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.1951, allocations: 47.67 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1951, allocations: 3.984 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.1951, allocations: 15.94 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.1952, allocations: 15.88 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1952, allocations: 4 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.1977, allocations: 1.478 MB / 0.7354 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.1977, allocations: 15.94 kB / 0.7354 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1977, allocations: 11.94 kB / 0.7354 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.1993, allocations: 1.11 MB / 0.7365 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1993, allocations: 0 / 0.7365 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1993, allocations: 0 / 0.7365 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1993, allocations: 0 / 0.7365 GB, free: 8.5 MB / 0.5606 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.0006342/0.2, allocations: 472 kB / 0.7369 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.2, allocations: 8.031 kB / 0.737 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.2001, allocations: 106 kB / 0.7371 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.2002, allocations: 84.17 kB / 0.7371 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.2003, allocations: 201.7 kB / 0.7373 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.2004, allocations: 158.5 kB / 0.7375 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.2005, allocations: 158.5 kB / 0.7376 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.561e-05/0.2006, allocations: 105 kB / 0.7377 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.2006, allocations: 75.28 kB / 0.7378 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.2007, allocations: 154.5 kB / 0.738 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.2007, allocations: 150.6 kB / 0.7381 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.2008, allocations: 154.6 kB / 0.7382 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.2011, allocations: 436.9 kB / 0.7387 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2012, allocations: 169.1 kB / 0.7388 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2013, allocations: 88.08 kB / 0.7389 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.2014, allocations: 79.28 kB / 0.739 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.929e-05/0.2015, allocations: 105.8 kB / 0.7391 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2015, allocations: 0 / 0.7391 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.786e-05/0.2016, allocations: 33.66 kB / 0.7391 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.2016, allocations: 126.7 kB / 0.7392 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.2018, allocations: 144.2 kB / 0.7394 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2018, allocations: 25.7 kB / 0.7394 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.2019, allocations: 92.08 kB / 0.7395 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.2019, allocations: 0 / 0.7395 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.2019, allocations: 21.72 kB / 0.7395 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2021, allocations: 322.8 kB / 0.7398 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.2021, allocations: 8 kB / 0.7398 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.2021, allocations: 11.88 kB / 0.7398 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.2022, allocations: 20.92 kB / 0.7399 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2022, allocations: 0 / 0.7399 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001267/0.2023, allocations: 45.69 kB / 0.7399 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2023, allocations: 8 kB / 0.7399 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.2023, allocations: 4 kB / 0.7399 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2023, allocations: 0 / 0.7399 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2023, allocations: 0 / 0.7399 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2023, allocations: 0 / 0.7399 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.2024, allocations: 4.016 kB / 0.7399 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2024, allocations: 4 kB / 0.7399 GB, free: 4.793 MB / 0.5606 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.0001249/0.2025, allocations: 197 kB / 0.7401 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.2026, allocations: 108.9 kB / 0.7402 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.2026, allocations: 108.8 kB / 0.7403 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-05/0.2027, allocations: 184.2 kB / 0.7405 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.671e-05/0.2028, allocations: 176.3 kB / 0.7407 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-05/0.2029, allocations: 180.3 kB / 0.7408 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.2032, allocations: 392.2 kB / 0.7412 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.902e-05/0.2032, allocations: 105 kB / 0.7413 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.2033, allocations: 104.9 kB / 0.7414 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.761e-05/0.2033, allocations: 184.3 kB / 0.7416 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/0.2034, allocations: 188.2 kB / 0.7418 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.118e-05/0.2035, allocations: 180.2 kB / 0.7419 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.116e-05/0.2036, allocations: 176.3 kB / 0.7421 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2038, allocations: 311.7 kB / 0.7424 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.2038, allocations: 112.9 kB / 0.7425 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.2039, allocations: 180.2 kB / 0.7427 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.204, allocations: 101 kB / 0.7428 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.2041, allocations: 184.2 kB / 0.7429 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.2041, allocations: 108.9 kB / 0.743 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.2042, allocations: 101.3 kB / 0.7431 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2042, allocations: 0 / 0.7431 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008019/0.205, allocations: 298.9 kB / 0.7434 GB, free: 0.9883 MB / 0.5606 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.001479/0.2065, allocations: 1.201 MB / 0.7446 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.2066, allocations: 45.64 kB / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2066, allocations: 0 / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.2066, allocations: 0 / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.207, allocations: 463.6 kB / 0.7451 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2086, allocations: 1.607 MB / 0.7467 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.57e-05/0.2087, allocations: 67.34 kB / 0.7467 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.2087, allocations: 4.031 kB / 0.7467 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.2087, allocations: 23.42 kB / 0.7467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.2088, allocations: 0 / 0.7467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.2461, allocations: 7.816 MB / 0.7544 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.7, allocations: 11.06 kB / 0.7544 GB, free: 5.824 MB / 0.5762 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 16.060806720983237] Failed to read output from testmodel.py, exit status != 0: 11.810401431750506 12.077532421 11.875730574 Calling exit ...