Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.00135/0.00135, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001441/0.001441, allocations: 217 kB / 23.04 MB, free: 5.074 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8941/0.8941, allocations: 145 MB / 458.2 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.00203/0.00203, allocations: 65.33 kB / 0.634 GB, free: 7.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1762, allocations: 87.89 MB / 0.7198 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005694/0.1819, allocations: 4.204 MB / 0.7239 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1856, allocations: 2.464 MB / 0.7263 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.186, allocations: 12 kB / 0.7263 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.1877, allocations: 0.5402 MB / 0.7269 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.1883, allocations: 254 kB / 0.7271 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1885, allocations: 139.8 kB / 0.7272 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008947/0.1894, allocations: 0.8098 MB / 0.728 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.1898, allocations: 235 kB / 0.7283 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.1903, allocations: 310.9 kB / 0.7286 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.1907, allocations: 334.6 kB / 0.7289 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.1907, allocations: 76 kB / 0.7289 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1909, allocations: 72 kB / 0.729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.191, allocations: 167.5 kB / 0.7292 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.1914, allocations: 390.2 kB / 0.7295 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1924, allocations: 1.031 MB / 0.7306 GB, free: 4.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1924, allocations: 0 / 0.7306 GB, free: 4.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1924, allocations: 0 / 0.7306 GB, free: 4.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1924, allocations: 3.938 kB / 0.7306 GB, free: 4.301 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001485/0.1939, allocations: 0.886 MB / 0.7314 GB, free: 3.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1939, allocations: 12.03 kB / 0.7314 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.384e-05/0.194, allocations: 13.19 kB / 0.7314 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.088e-05/0.1941, allocations: 90.7 kB / 0.7315 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1942, allocations: 80.41 kB / 0.7316 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.1949, allocations: 408.1 kB / 0.732 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.1949, allocations: 37.38 kB / 0.732 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.195, allocations: 48.38 kB / 0.7321 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007704/0.1958, allocations: 426.4 kB / 0.7325 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1958, allocations: 0 / 0.7325 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.1958, allocations: 24 kB / 0.7325 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1959, allocations: 12 kB / 0.7325 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.1966, allocations: 367.8 kB / 0.7329 GB, free: 1.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.1988, allocations: 1.465 MB / 0.7343 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.1993, allocations: 320.4 kB / 0.7346 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.1998, allocations: 296.4 kB / 0.7349 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1999, allocations: 4 kB / 0.7349 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.1999, allocations: 38.56 kB / 0.7349 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.1999, allocations: 3.938 kB / 0.7349 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001029/0.2009, allocations: 0.4912 MB / 0.7354 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.201, allocations: 55.41 kB / 0.7355 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.2016, allocations: 485.9 kB / 0.7359 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2016, allocations: 33.69 kB / 0.736 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.2018, allocations: 276.7 kB / 0.7362 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.202, allocations: 158.6 kB / 0.7364 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2021, allocations: 70.02 kB / 0.7364 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2023, allocations: 358.8 kB / 0.7368 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.2025, allocations: 120.7 kB / 0.7369 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.2028, allocations: 125.4 kB / 0.737 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.2033, allocations: 301.9 kB / 0.7373 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2033, allocations: 0 / 0.7373 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006835/0.204, allocations: 404.5 kB / 0.7377 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.204, allocations: 6.188 kB / 0.7377 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.204, allocations: 3.984 kB / 0.7377 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.204, allocations: 4 kB / 0.7377 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.2045, allocations: 123.9 kB / 0.7378 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2045, allocations: 0 / 0.7378 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.2048, allocations: 31.73 kB / 0.7379 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.2048, allocations: 16 kB / 0.7379 GB, free: 12.58 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 (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.000243/0.205, allocations: 201.7 kB / 0.7381 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.2051, allocations: 55.61 kB / 0.7381 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.2052, allocations: 65.09 kB / 0.7382 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.2053, allocations: 7.984 kB / 0.7382 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2053, allocations: 0 / 0.7382 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2053, allocations: 0 / 0.7382 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.206, allocations: 0.5469 MB / 0.7387 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.206, allocations: 0 / 0.7387 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.2065, allocations: 127.9 kB / 0.7388 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2065, allocations: 4 kB / 0.7388 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2065, allocations: 4 kB / 0.7389 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.2065, allocations: 7.984 kB / 0.7389 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2065, allocations: 0 / 0.7389 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2076, allocations: 0.6431 MB / 0.7395 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2077, allocations: 67.53 kB / 0.7396 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.2077, allocations: 15.98 kB / 0.7396 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.2079, allocations: 8 kB / 0.7396 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.208, allocations: 27.89 kB / 0.7396 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.208, allocations: 12 kB / 0.7396 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004285/0.2085, allocations: 355.1 kB / 0.74 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2085, allocations: 0 / 0.74 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004109/0.2089, allocations: 143.8 kB / 0.7401 GB, free: 10.25 MB / 0.5606 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.00141/0.2103, allocations: 1.204 MB / 0.7413 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.2109, allocations: 307.6 kB / 0.7416 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2109, allocations: 0 / 0.7416 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.2112, allocations: 163.8 kB / 0.7417 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.2119, allocations: 120.8 kB / 0.7418 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/0.2187, allocations: 4.885 MB / 0.7466 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.2192, allocations: 0.8664 MB / 0.7474 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.2194, allocations: 52.39 kB / 0.7475 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.2197, allocations: 199.2 kB / 0.7477 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.2197, allocations: 0 / 0.7477 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3557/0.5754, allocations: 11.84 MB / 0.7592 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.4, allocations: 6.75 kB / 0.7593 GB, free: 28.55 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.211284186982084] Failed to read output from testmodel.py, exit status != 0: 12.567328293982428 12.592696565 12.395725727 Calling exit ...