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.InternalResistancesOneUTube.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.001415/0.001415, 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.001679/0.001679, 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.026/1.026, allocations: 150 MB / 459.5 MB, free: 5.371 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.002088/0.002088, allocations: 73.8 kB / 0.6362 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1838, allocations: 89.14 MB / 0.7233 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002957/0.1867, allocations: 1.428 MB / 0.7246 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.1919, allocations: 2.94 MB / 0.7275 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.192, allocations: 0 / 0.7275 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.192, allocations: 7.922 kB / 0.7275 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.192, allocations: 11.86 kB / 0.7275 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.1967, allocations: 1.611 MB / 0.7291 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1968, allocations: 51.61 kB / 0.7292 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.1968, allocations: 4 kB / 0.7292 GB, free: 14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.1969, allocations: 19.91 kB / 0.7292 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.738e-05/0.1969, allocations: 11.94 kB / 0.7292 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1969, allocations: 0 / 0.7292 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.1998, allocations: 1.556 MB / 0.7307 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1998, allocations: 11.94 kB / 0.7307 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.1999, allocations: 15.86 kB / 0.7307 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.2019, allocations: 1.103 MB / 0.7318 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2019, allocations: 4 kB / 0.7318 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2019, allocations: 4 kB / 0.7318 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2019, allocations: 0 / 0.7318 GB, free: 11.27 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.0008072/0.2027, allocations: 0.5363 MB / 0.7323 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2027, allocations: 8.031 kB / 0.7324 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.2028, allocations: 106 kB / 0.7325 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.2029, allocations: 84.17 kB / 0.7325 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2031, allocations: 252.8 kB / 0.7328 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.2032, allocations: 162.5 kB / 0.7329 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.2033, allocations: 158.5 kB / 0.7331 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.2034, allocations: 101 kB / 0.7332 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.2034, allocations: 75.28 kB / 0.7333 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.2035, allocations: 154.6 kB / 0.7334 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.2036, allocations: 150.6 kB / 0.7335 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.2036, allocations: 158.6 kB / 0.7337 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.204, allocations: 469.8 kB / 0.7341 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.2041, allocations: 169.1 kB / 0.7343 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.2041, allocations: 80.14 kB / 0.7344 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.2042, allocations: 83.27 kB / 0.7345 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.2043, allocations: 109.8 kB / 0.7346 GB, free: 8.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.2043, allocations: 0 / 0.7346 GB, free: 8.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.516e-05/0.2043, allocations: 37.59 kB / 0.7346 GB, free: 8.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.2044, allocations: 126.7 kB / 0.7347 GB, free: 8.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.2046, allocations: 132 kB / 0.7348 GB, free: 7.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.2046, allocations: 25.7 kB / 0.7349 GB, free: 7.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.2047, allocations: 100.1 kB / 0.735 GB, free: 7.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.2047, allocations: 3.938 kB / 0.735 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.2047, allocations: 13.72 kB / 0.735 GB, free: 7.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2049, allocations: 326.8 kB / 0.7353 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.2049, allocations: 0 / 0.7353 GB, free: 7.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.2049, allocations: 8 kB / 0.7353 GB, free: 7.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.205, allocations: 8.859 kB / 0.7353 GB, free: 7.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.205, allocations: 0 / 0.7353 GB, free: 7.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.2051, allocations: 65.55 kB / 0.7354 GB, free: 7.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2051, allocations: 4 kB / 0.7354 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.2051, allocations: 4 kB / 0.7354 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2051, allocations: 0 / 0.7354 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.2051, allocations: 0 / 0.7354 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.2051, allocations: 0 / 0.7354 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.2052, allocations: 0 / 0.7354 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.2052, allocations: 4 kB / 0.7354 GB, free: 7.375 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.0001292/0.2053, allocations: 189 kB / 0.7356 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.2054, allocations: 113 kB / 0.7357 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.2054, allocations: 116.8 kB / 0.7358 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.862e-05/0.2055, allocations: 180.3 kB / 0.736 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.482e-05/0.2056, allocations: 176.3 kB / 0.7361 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.801e-05/0.2057, allocations: 180.2 kB / 0.7363 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.206, allocations: 425.1 kB / 0.7367 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.089e-05/0.2061, allocations: 108.9 kB / 0.7368 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.2061, allocations: 101 kB / 0.7369 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.2062, allocations: 176.3 kB / 0.7371 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.008e-05/0.2063, allocations: 184.2 kB / 0.7372 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.2e-05/0.2064, allocations: 184.3 kB / 0.7374 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.597e-05/0.2064, allocations: 184.2 kB / 0.7376 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.2066, allocations: 315.7 kB / 0.7379 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2068, allocations: 182.1 kB / 0.7381 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.2068, allocations: 176.3 kB / 0.7382 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2069, allocations: 116.9 kB / 0.7384 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.207, allocations: 176.3 kB / 0.7385 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.2071, allocations: 104.9 kB / 0.7386 GB, free: 3.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.301e-05/0.2072, allocations: 100.8 kB / 0.7387 GB, free: 3.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2072, allocations: 0 / 0.7387 GB, free: 3.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009047/0.2081, allocations: 298.9 kB / 0.739 GB, free: 3.445 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.00163/0.2097, allocations: 1.171 MB / 0.7401 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.2098, allocations: 41.69 kB / 0.7402 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2098, allocations: 3.938 kB / 0.7402 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.2098, allocations: 0 / 0.7402 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.2103, allocations: 464.6 kB / 0.7406 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2121, allocations: 1.586 MB / 0.7422 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2125, allocations: 0.6884 MB / 0.7429 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.2125, allocations: 4.031 kB / 0.7429 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.2126, allocations: 15.44 kB / 0.7429 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.2126, allocations: 0 / 0.7429 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/0.2604, allocations: 7.112 MB / 0.7498 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.814, allocations: 24.69 kB / 0.7498 GB, free: 8.422 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.955283702118322] Failed to read output from testmodel.py, exit status != 0: 8.890615344047546 8.920707342 8.713543536 Calling exit ...