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.001824/0.001824, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001449/0.001449, allocations: 219.7 kB / 23 MB, free: 5.004 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9767/0.9767, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.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.002086/0.002086, allocations: 62.66 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1992, allocations: 89.18 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002823/0.2021, allocations: 1.457 MB / 0.7299 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.2069, allocations: 2.981 MB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.207, allocations: 0 / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.207, allocations: 3.938 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.207, allocations: 19.84 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.2114, allocations: 1.722 MB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.2115, allocations: 47.67 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.2115, allocations: 0 / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.2116, allocations: 15.94 kB / 0.7345 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.952e-05/0.2116, allocations: 11.92 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.2116, allocations: 4 kB / 0.7346 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.2143, allocations: 1.767 MB / 0.7363 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2143, allocations: 7.938 kB / 0.7363 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2144, allocations: 23.88 kB / 0.7363 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.216, allocations: 1.142 MB / 0.7374 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.216, allocations: 3.984 kB / 0.7374 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.216, allocations: 0 / 0.7374 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.216, allocations: 0 / 0.7374 GB, free: 8.004 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.0006637/0.2167, allocations: 480 kB / 0.7379 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2167, allocations: 8.031 kB / 0.7379 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.2168, allocations: 110 kB / 0.738 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.2169, allocations: 88.17 kB / 0.7381 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.217, allocations: 193.7 kB / 0.7383 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.2171, allocations: 154.5 kB / 0.7384 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.2172, allocations: 154.5 kB / 0.7386 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.2173, allocations: 109 kB / 0.7387 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.2173, allocations: 75.28 kB / 0.7387 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.2174, allocations: 154.6 kB / 0.7389 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.39e-05/0.2174, allocations: 158.5 kB / 0.739 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.2175, allocations: 154.5 kB / 0.7392 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2178, allocations: 440.9 kB / 0.7396 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.08e-05/0.2179, allocations: 169.1 kB / 0.7398 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.2179, allocations: 80.14 kB / 0.7398 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.218, allocations: 79.28 kB / 0.7399 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.218, allocations: 109.8 kB / 0.74 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.218, allocations: 0 / 0.74 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.448e-05/0.2181, allocations: 33.66 kB / 0.7401 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.2182, allocations: 134.7 kB / 0.7402 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2183, allocations: 133.8 kB / 0.7403 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2183, allocations: 25.7 kB / 0.7403 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2184, allocations: 92.14 kB / 0.7404 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.2184, allocations: 0 / 0.7404 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2184, allocations: 13.72 kB / 0.7404 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2186, allocations: 326.8 kB / 0.7407 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.2186, allocations: 0 / 0.7407 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.2186, allocations: 12 kB / 0.7408 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.2187, allocations: 24.86 kB / 0.7408 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2187, allocations: 0 / 0.7408 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.2188, allocations: 53.64 kB / 0.7408 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2188, allocations: 5.562 kB / 0.7408 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.2188, allocations: 4 kB / 0.7408 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2189, allocations: 0 / 0.7408 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.2189, allocations: 0 / 0.7408 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2189, allocations: 0 / 0.7408 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.2189, allocations: 3.953 kB / 0.7408 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2189, allocations: 8.062 kB / 0.7409 GB, free: 4.285 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.000112/0.219, allocations: 193 kB / 0.741 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.2191, allocations: 108.9 kB / 0.7411 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.2191, allocations: 112.8 kB / 0.7412 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-05/0.2192, allocations: 180.3 kB / 0.7414 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.067e-05/0.2193, allocations: 180.2 kB / 0.7416 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.312e-05/0.2194, allocations: 184.2 kB / 0.7418 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2197, allocations: 392.2 kB / 0.7421 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/0.2197, allocations: 101 kB / 0.7422 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.2198, allocations: 108.9 kB / 0.7423 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-05/0.2198, allocations: 184.2 kB / 0.7425 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.2199, allocations: 188.2 kB / 0.7427 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.425e-05/0.22, allocations: 180.2 kB / 0.7429 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.04e-05/0.2201, allocations: 176.3 kB / 0.743 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2202, allocations: 319.6 kB / 0.7433 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.2203, allocations: 104.9 kB / 0.7434 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.2204, allocations: 192.2 kB / 0.7436 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.2205, allocations: 105 kB / 0.7437 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.2206, allocations: 180.2 kB / 0.7439 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.2206, allocations: 105 kB / 0.744 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.2207, allocations: 101 kB / 0.7441 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2207, allocations: 0 / 0.7441 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008541/0.2215, allocations: 303 kB / 0.7444 GB, free: 476 kB / 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.001417/0.223, allocations: 1.198 MB / 0.7456 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.2231, allocations: 37.7 kB / 0.7456 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2231, allocations: 0 / 0.7456 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.2231, allocations: 0 / 0.7456 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.2236, allocations: 463.7 kB / 0.746 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2251, allocations: 1.612 MB / 0.7476 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2255, allocations: 0.6846 MB / 0.7483 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.293e-05/0.2255, allocations: 0 / 0.7483 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.2255, allocations: 15.44 kB / 0.7483 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2255, allocations: 0 / 0.7483 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.2613, allocations: 7.366 MB / 0.7555 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.33, allocations: 3.984 kB / 0.7555 GB, free: 5.145 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.556187598998804] Failed to read output from testmodel.py, exit status != 0: 11.438187067000399 11.747294867 11.528269502 Calling exit ...