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.001465/0.001465, allocations: 119 kB / 19.69 MB, free: 2.199 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.00176/0.00176, allocations: 224.3 kB / 23.01 MB, free: 5.051 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.079/1.079, allocations: 150 MB / 463.2 MB, free: 10.46 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.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.002225/0.002225, allocations: 66.19 kB / 0.6413 GB, free: 10.24 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1808, allocations: 89.18 MB / 0.7284 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002752/0.1835, allocations: 1.443 MB / 0.7298 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005219/0.1888, allocations: 2.957 MB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.1888, allocations: 0 / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.1888, allocations: 3.938 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.1889, allocations: 11.86 kB / 0.7327 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.1939, allocations: 1.694 MB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.194, allocations: 47.67 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1941, allocations: 4 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.1941, allocations: 15.92 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.1941, allocations: 15.92 kB / 0.7345 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1941, allocations: 4 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.1974, allocations: 1.716 MB / 0.7361 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.1975, allocations: 3.938 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1975, allocations: 19.92 kB / 0.7362 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.2, allocations: 1.122 MB / 0.7373 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2, allocations: 0 / 0.7373 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2, allocations: 4 kB / 0.7373 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2, allocations: 0 / 0.7373 GB, free: 8.062 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.0008277/0.2009, allocations: 478.1 kB / 0.7377 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2009, allocations: 8.031 kB / 0.7377 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.739e-05/0.201, allocations: 110 kB / 0.7378 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.2011, allocations: 80.22 kB / 0.7379 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.2012, allocations: 193.7 kB / 0.7381 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.2013, allocations: 158.5 kB / 0.7383 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.2014, allocations: 150.6 kB / 0.7384 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.2015, allocations: 112.9 kB / 0.7385 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.2015, allocations: 75.28 kB / 0.7386 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.2016, allocations: 154.6 kB / 0.7387 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.2017, allocations: 154.6 kB / 0.7389 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.2017, allocations: 154.6 kB / 0.739 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.2021, allocations: 440.9 kB / 0.7394 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.2022, allocations: 169.1 kB / 0.7396 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.2023, allocations: 80.14 kB / 0.7397 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2023, allocations: 79.28 kB / 0.7398 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.2024, allocations: 109.8 kB / 0.7399 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2024, allocations: 0 / 0.7399 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.39e-05/0.2025, allocations: 29.66 kB / 0.7399 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.2025, allocations: 134.7 kB / 0.74 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.2027, allocations: 135.7 kB / 0.7401 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2027, allocations: 25.7 kB / 0.7402 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.2028, allocations: 96.12 kB / 0.7403 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.2028, allocations: 0 / 0.7403 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2028, allocations: 17.72 kB / 0.7403 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.203, allocations: 322.8 kB / 0.7406 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.203, allocations: 8 kB / 0.7406 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.203, allocations: 7.938 kB / 0.7406 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.2031, allocations: 12.86 kB / 0.7406 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2031, allocations: 0 / 0.7406 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.2032, allocations: 53.67 kB / 0.7407 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2032, allocations: 8 kB / 0.7407 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.2032, allocations: 0 / 0.7407 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2033, allocations: 0 / 0.7407 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.2033, allocations: 7.984 kB / 0.7407 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2033, allocations: 0 / 0.7407 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.2033, allocations: 3.984 kB / 0.7407 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2033, allocations: 0 / 0.7407 GB, free: 4.363 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.0001219/0.2034, allocations: 193 kB / 0.7409 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.2035, allocations: 109 kB / 0.741 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.2036, allocations: 112.8 kB / 0.7411 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.461e-05/0.2036, allocations: 184.2 kB / 0.7413 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.533e-05/0.2037, allocations: 176.3 kB / 0.7414 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-05/0.2038, allocations: 184.2 kB / 0.7416 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.2041, allocations: 392.2 kB / 0.742 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-05/0.2041, allocations: 108.9 kB / 0.7421 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.2042, allocations: 105 kB / 0.7422 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.996e-05/0.2042, allocations: 176.3 kB / 0.7423 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.2043, allocations: 180.2 kB / 0.7425 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.118e-05/0.2044, allocations: 184.3 kB / 0.7427 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.257e-05/0.2045, allocations: 188.2 kB / 0.7429 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.2047, allocations: 303.8 kB / 0.7432 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.2047, allocations: 112.9 kB / 0.7433 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.2048, allocations: 180.2 kB / 0.7434 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.2049, allocations: 108.9 kB / 0.7435 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.205, allocations: 184.3 kB / 0.7437 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.205, allocations: 101 kB / 0.7438 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.73e-05/0.2051, allocations: 96.98 kB / 0.7439 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 0 / 0.7439 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009361/0.2061, allocations: 295 kB / 0.7442 GB, free: 0.5664 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.001728/0.2078, allocations: 1.184 MB / 0.7453 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2079, allocations: 33.7 kB / 0.7454 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2079, allocations: 0 / 0.7454 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.2079, allocations: 7.938 kB / 0.7454 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.2084, allocations: 467.7 kB / 0.7458 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.2101, allocations: 1.579 MB / 0.7474 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2104, allocations: 0.6885 MB / 0.748 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.462e-05/0.2104, allocations: 7.969 kB / 0.7481 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.2104, allocations: 11.44 kB / 0.7481 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.2104, allocations: 4 kB / 0.7481 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/0.2489, allocations: 7.158 MB / 0.7551 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.94, allocations: 0 / 0.7551 GB, free: 5.484 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 16.4081976339221] Failed to read output from testmodel.py, exit status != 0: 12.05078066396527 12.411750942 12.208995916 Calling exit ...