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.InternalResistancesTwoUTube.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.001954/0.001954, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002781/0.002781, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.044/1.044, allocations: 150 MB / 459.5 MB, free: 5.316 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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00209/0.00209, allocations: 69.56 kB / 0.6362 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2078, allocations: 89.14 MB / 0.7233 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003592/0.2114, allocations: 1.446 MB / 0.7247 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005421/0.2168, allocations: 2.975 MB / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.2169, allocations: 3.938 kB / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.2169, allocations: 3.938 kB / 0.7276 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.217, allocations: 11.86 kB / 0.7276 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00459/0.2216, allocations: 1.646 MB / 0.7292 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2217, allocations: 43.67 kB / 0.7292 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.2217, allocations: 4 kB / 0.7292 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.2218, allocations: 15.94 kB / 0.7293 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.231e-05/0.2218, allocations: 23.86 kB / 0.7293 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.2218, allocations: 0 / 0.7293 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.2247, allocations: 1.595 MB / 0.7308 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.2247, allocations: 11.94 kB / 0.7308 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.2248, allocations: 19.86 kB / 0.7309 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.2266, allocations: 1.134 MB / 0.732 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2266, allocations: 0 / 0.732 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2266, allocations: 3.938 kB / 0.732 GB, free: 11.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2266, allocations: 4 kB / 0.732 GB, free: 11.08 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.0007618/0.2274, allocations: 0.5324 MB / 0.7325 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.2275, allocations: 12.02 kB / 0.7325 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.356e-05/0.2275, allocations: 114 kB / 0.7326 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.2276, allocations: 84.17 kB / 0.7327 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2278, allocations: 247.6 kB / 0.7329 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.2279, allocations: 158.5 kB / 0.7331 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.228, allocations: 158.6 kB / 0.7332 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.228, allocations: 108.9 kB / 0.7333 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.2281, allocations: 75.28 kB / 0.7334 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.2282, allocations: 150.6 kB / 0.7336 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/0.2282, allocations: 150.6 kB / 0.7337 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.2283, allocations: 154.6 kB / 0.7339 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.2287, allocations: 469.8 kB / 0.7343 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.2288, allocations: 169.1 kB / 0.7345 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.2289, allocations: 88.14 kB / 0.7345 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.2289, allocations: 79.28 kB / 0.7346 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.887e-05/0.229, allocations: 105.8 kB / 0.7347 GB, free: 8.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.229, allocations: 0 / 0.7347 GB, free: 8.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.786e-05/0.2291, allocations: 33.66 kB / 0.7348 GB, free: 8.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.2292, allocations: 126.7 kB / 0.7349 GB, free: 7.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.2293, allocations: 140 kB / 0.735 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2294, allocations: 29.64 kB / 0.735 GB, free: 7.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.2294, allocations: 96.12 kB / 0.7351 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.2294, allocations: 0 / 0.7351 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.2295, allocations: 17.72 kB / 0.7351 GB, free: 7.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2296, allocations: 326.8 kB / 0.7355 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.2296, allocations: 7.938 kB / 0.7355 GB, free: 7.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.2296, allocations: 0 / 0.7355 GB, free: 7.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.2297, allocations: 16.86 kB / 0.7355 GB, free: 7.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2297, allocations: 0 / 0.7355 GB, free: 7.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001458/0.2298, allocations: 53.64 kB / 0.7355 GB, free: 7.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2299, allocations: 8.062 kB / 0.7355 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.2299, allocations: 4 kB / 0.7355 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2299, allocations: 0 / 0.7355 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.2299, allocations: 3.938 kB / 0.7355 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2299, allocations: 0 / 0.7355 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.2299, allocations: 3.953 kB / 0.7356 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.2299, allocations: 4 kB / 0.7356 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.0001266/0.2301, allocations: 192.9 kB / 0.7357 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.2301, allocations: 113 kB / 0.7358 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.2302, allocations: 108.8 kB / 0.7359 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.692e-05/0.2303, allocations: 184.2 kB / 0.7361 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.081e-05/0.2304, allocations: 180.3 kB / 0.7363 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.218e-05/0.2304, allocations: 180.2 kB / 0.7365 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.2307, allocations: 425.1 kB / 0.7369 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.2308, allocations: 101 kB / 0.737 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.2308, allocations: 108.9 kB / 0.7371 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-05/0.2309, allocations: 180.3 kB / 0.7372 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.231, allocations: 188.2 kB / 0.7374 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.043e-05/0.2311, allocations: 180.2 kB / 0.7376 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.661e-05/0.2312, allocations: 184.2 kB / 0.7378 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.2313, allocations: 311.7 kB / 0.7381 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2314, allocations: 190 kB / 0.7383 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/0.2315, allocations: 176.3 kB / 0.7384 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.2316, allocations: 108.9 kB / 0.7385 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.2317, allocations: 180.3 kB / 0.7387 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.2317, allocations: 101 kB / 0.7388 GB, free: 3.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.2318, allocations: 109 kB / 0.7389 GB, free: 3.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2318, allocations: 0 / 0.7389 GB, free: 3.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009708/0.2328, 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.001555/0.2344, allocations: 1.198 MB / 0.7403 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.2345, allocations: 33.7 kB / 0.7404 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2345, allocations: 4.062 kB / 0.7404 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.2345, allocations: 0 / 0.7404 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2349, allocations: 472.5 kB / 0.7408 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2365, allocations: 1.606 MB / 0.7424 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2369, allocations: 0.6846 MB / 0.7431 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.2369, allocations: 0 / 0.7431 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.2369, allocations: 23.36 kB / 0.7431 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2369, allocations: 0 / 0.7431 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.2745, allocations: 7.322 MB / 0.7502 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.691, allocations: 11.48 kB / 0.7503 GB, free: 7.973 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.900128555018455] Failed to read output from testmodel.py, exit status != 0: 8.76499668811448 8.789300259 8.558229542 Calling exit ...