Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001789/0.001789, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.002256/0.002256, allocations: 219.6 kB / 22.99 MB, free: 4.973 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.987/0.987, allocations: 149.9 MB / 463.1 MB, free: 10.39 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.00235/0.00235, allocations: 67.11 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1747, allocations: 89.17 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005671/0.1804, allocations: 3.774 MB / 0.7319 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00378/0.1842, allocations: 2.23 MB / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.1847, allocations: 12 kB / 0.7341 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.1866, allocations: 0.5131 MB / 0.7346 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.1873, allocations: 246 kB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1876, allocations: 135.8 kB / 0.7349 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1887, allocations: 0.8128 MB / 0.7357 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.1891, allocations: 211.1 kB / 0.7359 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.1897, allocations: 310.9 kB / 0.7362 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.1901, allocations: 278.6 kB / 0.7365 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.1903, allocations: 76 kB / 0.7366 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1904, allocations: 72 kB / 0.7366 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1906, allocations: 175.4 kB / 0.7368 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.191, allocations: 310.7 kB / 0.7371 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.192, allocations: 1.004 MB / 0.7381 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1921, allocations: 3.984 kB / 0.7381 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1921, allocations: 0 / 0.7381 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.1921, allocations: 0 / 0.7381 GB, free: 6.859 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001814/0.1939, allocations: 0.886 MB / 0.739 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1939, allocations: 19.95 kB / 0.739 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.1941, allocations: 82.72 kB / 0.7391 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.1942, allocations: 80.45 kB / 0.7391 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007406/0.1949, allocations: 404.2 kB / 0.7395 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.195, allocations: 41.12 kB / 0.7396 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.701e-05/0.1951, allocations: 47.94 kB / 0.7396 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.1959, allocations: 426.5 kB / 0.74 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1959, allocations: 0 / 0.74 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.1959, allocations: 20 kB / 0.74 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1959, allocations: 12 kB / 0.74 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.1967, allocations: 363.8 kB / 0.7404 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.199, allocations: 1.257 MB / 0.7416 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.1996, allocations: 304.2 kB / 0.7419 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.2001, allocations: 300.6 kB / 0.7422 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2001, allocations: 8 kB / 0.7422 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2001, allocations: 35.25 kB / 0.7422 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.2001, allocations: 0 / 0.7422 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001045/0.2012, allocations: 0.4888 MB / 0.7427 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.2012, allocations: 55.41 kB / 0.7428 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.2019, allocations: 489.9 kB / 0.7432 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2019, allocations: 33.7 kB / 0.7433 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.2021, allocations: 280.7 kB / 0.7435 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2023, allocations: 158.6 kB / 0.7437 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2024, allocations: 58.08 kB / 0.7437 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2025, allocations: 362.8 kB / 0.7441 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.2028, allocations: 120.7 kB / 0.7442 GB, free: 416 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.2031, allocations: 129.4 kB / 0.7443 GB, free: 288 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.2036, allocations: 298 kB / 0.7446 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2036, allocations: 4 kB / 0.7446 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007385/0.2044, allocations: 396.4 kB / 0.745 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2044, allocations: 4 kB / 0.745 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2044, allocations: 4 kB / 0.745 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2044, allocations: 4 kB / 0.745 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.2049, allocations: 123.9 kB / 0.7451 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2049, allocations: 0 / 0.7451 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.2052, allocations: 47.72 kB / 0.7452 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2052, allocations: 12 kB / 0.7452 GB, free: 15.4 MB / 0.5762 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 (46): * Single equations (assignments): 46 * 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 0.0002515/0.2055, allocations: 197.7 kB / 0.7454 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.2056, allocations: 51.67 kB / 0.7454 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.2057, allocations: 57.11 kB / 0.7455 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2057, allocations: 4 kB / 0.7455 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2057, allocations: 0 / 0.7455 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2057, allocations: 3.984 kB / 0.7455 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.2064, allocations: 488.2 kB / 0.7459 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2064, allocations: 0 / 0.7459 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.2069, allocations: 131.8 kB / 0.7461 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.2069, allocations: 7.984 kB / 0.7461 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.207, allocations: 8 kB / 0.7461 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.207, allocations: 4 kB / 0.7461 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.207, allocations: 0 / 0.7461 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.208, allocations: 0.6406 MB / 0.7467 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2082, allocations: 71.56 kB / 0.7468 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.2083, allocations: 8 kB / 0.7468 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2085, allocations: 12 kB / 0.7468 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.2086, allocations: 27.94 kB / 0.7468 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2086, allocations: 8 kB / 0.7468 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004417/0.209, allocations: 347.1 kB / 0.7472 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.209, allocations: 0 / 0.7472 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004286/0.2095, allocations: 147.7 kB / 0.7473 GB, free: 13.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001426/0.2109, allocations: 1.219 MB / 0.7485 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000655/0.2115, allocations: 299.6 kB / 0.7488 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2115, allocations: 0 / 0.7488 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.2119, allocations: 171.5 kB / 0.7489 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.2126, allocations: 132.5 kB / 0.7491 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/0.2198, allocations: 4.853 MB / 0.7538 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.2201, allocations: 271.2 kB / 0.7541 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.2204, allocations: 52.36 kB / 0.7541 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.2207, allocations: 187.4 kB / 0.7543 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.2207, allocations: 0 / 0.7543 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3848/0.6055, allocations: 12.61 MB / 0.7666 GB, free: 34.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.99, allocations: 2.172 kB / 0.7666 GB, free: 34.48 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.872811982873827] Failed to read output from testmodel.py, exit status != 0: 12.10656642401591 12.12451742 11.92975336 Calling exit ...