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.ConvectionResistanceCircularPipe.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.001404/0.001404, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001717/0.001717, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9832/0.9832, allocations: 149.9 MB / 463.1 MB, free: 10.39 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.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.002071/0.002071, allocations: 66.42 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.197, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00273/0.1997, allocations: 1.354 MB / 0.7296 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2015, allocations: 1.044 MB / 0.7306 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.2015, allocations: 0 / 0.7306 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.2016, allocations: 7.938 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.2016, allocations: 11.92 kB / 0.7306 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.2023, allocations: 219.5 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.2023, allocations: 31.8 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.2024, allocations: 3.938 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2025, allocations: 19.92 kB / 0.7309 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.2026, allocations: 19.92 kB / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2026, allocations: 0 / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.2032, allocations: 399.5 kB / 0.7313 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.2032, allocations: 11.92 kB / 0.7313 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.2032, allocations: 19.92 kB / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2036, allocations: 203.4 kB / 0.7315 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2036, allocations: 0 / 0.7315 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2036, allocations: 0 / 0.7315 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2036, allocations: 0 / 0.7315 GB, free: 13.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004716/0.2041, allocations: 316.1 kB / 0.7318 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2041, allocations: 12.03 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.2042, allocations: 38.73 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.2042, allocations: 0.9375 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2043, allocations: 114.4 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2043, allocations: 4.125 kB / 0.7319 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2043, allocations: 8 kB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2044, allocations: 33.69 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2044, allocations: 0 / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2045, allocations: 0 / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2045, allocations: 0 / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.2045, allocations: 27.86 kB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.2047, allocations: 132.7 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2048, allocations: 46.48 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.2048, allocations: 16.89 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/0.2054, allocations: 95.95 kB / 0.7323 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2054, allocations: 34.56 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2054, allocations: 0 / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.2056, allocations: 53.69 kB / 0.7324 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2056, allocations: 55.34 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.2057, allocations: 105.8 kB / 0.7325 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2057, allocations: 29.7 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.2058, allocations: 84.14 kB / 0.7326 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2058, allocations: 7.906 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.2058, allocations: 25.7 kB / 0.7327 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.206, allocations: 318.8 kB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.206, allocations: 4 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.206, allocations: 7.984 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.206, allocations: 16.86 kB / 0.733 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.206, allocations: 7.938 kB / 0.733 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.207e-05/0.2061, allocations: 49.64 kB / 0.7331 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2062, allocations: 13.97 kB / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2062, allocations: 0 / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2062, allocations: 0 / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2063, allocations: 16 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2063, allocations: 0 / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.2063, allocations: 7.984 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2063, allocations: 4 kB / 0.7331 GB, free: 11.82 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.046e-05/0.2064, allocations: 109.8 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.2064, allocations: 4 kB / 0.7332 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.2066, allocations: 57.69 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2066, allocations: 0 / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2066, allocations: 0 / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2066, allocations: 3.938 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2067, allocations: 140.6 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2067, allocations: 4 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.2068, allocations: 23.92 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2068, allocations: 384 / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2068, allocations: 0 / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2068, allocations: 0 / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2068, allocations: 4 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.2069, allocations: 77.05 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.2069, allocations: 3.938 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2069, allocations: 11.94 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.207, allocations: 0 / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.207, allocations: 7.984 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.207, allocations: 4 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.207, allocations: 79.28 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.207, allocations: 3.938 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002441/0.2073, allocations: 47.86 kB / 0.7337 GB, free: 11.17 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 (4): * Single equations (assignments): 4 * 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.0005525/0.2078, allocations: 0.6669 MB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2079, allocations: 19.98 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2079, allocations: 3.938 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.208, allocations: 8 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.2082, allocations: 20.92 kB / 0.7344 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.2087, allocations: 198.2 kB / 0.7345 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.2087, allocations: 67.28 kB / 0.7346 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.2088, allocations: 7 kB / 0.7346 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.2088, allocations: 19.42 kB / 0.7346 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2088, allocations: 4 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.2403, allocations: 2.771 MB / 0.7373 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.9, allocations: 19.31 kB / 0.7374 GB, free: 7.484 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.041109909303486] Failed to read output from testmodel.py, exit status != 0: 12.00856468686834 12.035838275 11.827217641 Calling exit ...