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.001354/0.001354, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001466/0.001466, allocations: 213.1 kB / 23.78 MB, free: 4.523 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.417/1.417, allocations: 230.6 MB / 257.5 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.9501/0.9501, allocations: 150 MB / 464 MB, free: 10.2 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="cs",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="cs",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.002265/0.002265, allocations: 61.81 kB / 0.642 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1799, allocations: 89.17 MB / 0.7291 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005917/0.1858, allocations: 3.767 MB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.1898, allocations: 2.223 MB / 0.7349 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.1903, allocations: 8 kB / 0.735 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.1924, allocations: 0.5131 MB / 0.7355 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007626/0.1932, allocations: 242 kB / 0.7357 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1935, allocations: 143.8 kB / 0.7358 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.1946, allocations: 0.8059 MB / 0.7366 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.1951, allocations: 231 kB / 0.7368 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.1957, allocations: 310.9 kB / 0.7371 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.1962, allocations: 326.6 kB / 0.7374 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.1963, allocations: 75.94 kB / 0.7375 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1964, allocations: 76 kB / 0.7376 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.1966, allocations: 163.5 kB / 0.7377 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.197, allocations: 314.6 kB / 0.738 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.198, allocations: 1.004 MB / 0.739 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.198, allocations: 4 kB / 0.739 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.198, allocations: 0 / 0.739 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.1981, allocations: 0 / 0.739 GB, free: 6.535 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.001736/0.1998, allocations: 0.8899 MB / 0.7399 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1998, allocations: 8.031 kB / 0.7399 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.369e-05/0.1999, allocations: 17.12 kB / 0.7399 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.2, allocations: 90.7 kB / 0.74 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2001, allocations: 76.47 kB / 0.7401 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.2009, allocations: 408.1 kB / 0.7405 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.2009, allocations: 44.92 kB / 0.7405 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.201, allocations: 48 kB / 0.7406 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/0.2018, allocations: 426.5 kB / 0.741 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2018, allocations: 0 / 0.741 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.2019, allocations: 24 kB / 0.741 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.2019, allocations: 8 kB / 0.741 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.2026, allocations: 363.8 kB / 0.7413 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2048, allocations: 1.265 MB / 0.7426 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.2053, allocations: 307.5 kB / 0.7429 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.2058, allocations: 284.6 kB / 0.7431 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.2058, allocations: 4 kB / 0.7431 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2059, allocations: 39.25 kB / 0.7432 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.944e-06/0.2059, allocations: 0 / 0.7432 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009966/0.2069, allocations: 0.5005 MB / 0.7437 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2069, allocations: 59.41 kB / 0.7437 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.2075, allocations: 478.7 kB / 0.7442 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.2076, allocations: 37.7 kB / 0.7442 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.2078, allocations: 276.7 kB / 0.7445 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2079, allocations: 154.6 kB / 0.7446 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.208, allocations: 58.08 kB / 0.7447 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2082, allocations: 370.7 kB / 0.745 GB, free: 180 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.2085, allocations: 120.7 kB / 0.7452 GB, free: 60 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.2088, allocations: 129.4 kB / 0.7453 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.2093, allocations: 298 kB / 0.7456 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2093, allocations: 3.938 kB / 0.7456 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007091/0.21, allocations: 396.5 kB / 0.7459 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.21, allocations: 8 kB / 0.746 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.21, allocations: 0 / 0.746 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2101, allocations: 0 / 0.746 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.2106, allocations: 127.9 kB / 0.7461 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2106, allocations: 4 kB / 0.7461 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2108, allocations: 35.72 kB / 0.7461 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.2109, allocations: 12 kB / 0.7461 GB, free: 15.06 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.0002652/0.2112, allocations: 199.7 kB / 0.7463 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.2112, allocations: 55.66 kB / 0.7464 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.2114, allocations: 57.11 kB / 0.7464 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2114, allocations: 4 kB / 0.7464 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2114, allocations: 4 kB / 0.7464 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.2114, allocations: 7.984 kB / 0.7464 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.2121, allocations: 480.2 kB / 0.7469 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2121, allocations: 4 kB / 0.7469 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.2126, allocations: 131.7 kB / 0.747 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2126, allocations: 0 / 0.747 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.2127, allocations: 8 kB / 0.747 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2127, allocations: 0 / 0.747 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2127, allocations: 0 / 0.747 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2137, allocations: 0.6562 MB / 0.7477 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2138, allocations: 59.58 kB / 0.7477 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.2139, allocations: 11.94 kB / 0.7477 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2141, allocations: 11.98 kB / 0.7478 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.2142, allocations: 27.95 kB / 0.7478 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.2142, allocations: 8 kB / 0.7478 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004298/0.2146, allocations: 351.1 kB / 0.7481 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2146, allocations: 0 / 0.7481 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000463/0.2151, allocations: 151.7 kB / 0.7483 GB, free: 12.8 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.001443/0.2166, allocations: 1.216 MB / 0.7495 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000653/0.2172, allocations: 295.6 kB / 0.7497 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2172, allocations: 0 / 0.7497 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.2175, allocations: 175.5 kB / 0.7499 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.2182, allocations: 135.1 kB / 0.75 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/0.2256, allocations: 4.851 MB / 0.7548 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2259, allocations: 271.2 kB / 0.755 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.2262, allocations: 52.34 kB / 0.7551 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.2265, allocations: 187.4 kB / 0.7553 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.2265, allocations: 4 kB / 0.7553 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3947/0.6211, allocations: 12.3 MB / 0.7673 GB, free: 34.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.68, allocations: 14 kB / 0.7673 GB, free: 34.73 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.522590680979192] Failed to read output from testmodel.py, exit status != 0: 12.853844302939251 12.882031228 12.679055121 Calling exit ...