Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001288/0.001288, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001435/0.001435, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.973 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.8934/0.8934, allocations: 145 MB / 457.4 MB, free: 15.53 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.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",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.002156/0.002156, allocations: 68.84 kB / 0.6333 GB, free: 7.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1754, allocations: 87.89 MB / 0.7191 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002733/0.1782, allocations: 1.453 MB / 0.7205 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.1829, allocations: 2.993 MB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.183, allocations: 0 / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.183, allocations: 3.938 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.1831, allocations: 11.86 kB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.1873, allocations: 1.727 MB / 0.7251 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.1874, allocations: 47.67 kB / 0.7252 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.1874, allocations: 4 kB / 0.7252 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.1874, allocations: 11.94 kB / 0.7252 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.1875, allocations: 23.91 kB / 0.7252 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1875, allocations: 0 / 0.7252 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.1902, allocations: 1.763 MB / 0.7269 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.1902, allocations: 3.938 kB / 0.7269 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.1903, allocations: 19.88 kB / 0.727 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.1922, allocations: 1.134 MB / 0.7281 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1922, allocations: 4 kB / 0.7281 GB, free: 6.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1922, allocations: 4 kB / 0.7281 GB, free: 6.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1922, allocations: 0 / 0.7281 GB, free: 6.137 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.193, allocations: 476 kB / 0.7285 GB, free: 5.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1931, allocations: 8.031 kB / 0.7285 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.1931, allocations: 106 kB / 0.7286 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.1932, allocations: 80.22 kB / 0.7287 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1933, allocations: 201.6 kB / 0.7289 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.1934, allocations: 154.9 kB / 0.7291 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.1935, allocations: 154.9 kB / 0.7292 GB, free: 4.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.1935, allocations: 108.9 kB / 0.7293 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.1936, allocations: 75.28 kB / 0.7294 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.1936, allocations: 154.5 kB / 0.7295 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/0.1937, allocations: 158.5 kB / 0.7297 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.1937, allocations: 150.6 kB / 0.7298 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1941, allocations: 436.9 kB / 0.7302 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.1942, allocations: 169.1 kB / 0.7304 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1942, allocations: 88.19 kB / 0.7305 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1942, allocations: 79.22 kB / 0.7306 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.1943, allocations: 109.8 kB / 0.7307 GB, free: 3.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1943, allocations: 0 / 0.7307 GB, free: 3.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.026e-05/0.1944, allocations: 37.59 kB / 0.7307 GB, free: 3.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1944, allocations: 126.7 kB / 0.7308 GB, free: 3.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1946, allocations: 127.5 kB / 0.7309 GB, free: 3.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1946, allocations: 29.7 kB / 0.731 GB, free: 2.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1947, allocations: 96.12 kB / 0.7311 GB, free: 2.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.1947, allocations: 0 / 0.7311 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1948, allocations: 21.66 kB / 0.7311 GB, free: 2.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1949, allocations: 318.8 kB / 0.7314 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.1949, allocations: 8 kB / 0.7314 GB, free: 2.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.1949, allocations: 4 kB / 0.7314 GB, free: 2.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.195, allocations: 12.86 kB / 0.7314 GB, free: 2.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.195, allocations: 4.031 kB / 0.7314 GB, free: 2.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001238/0.1951, allocations: 65.58 kB / 0.7315 GB, free: 2.445 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1951, allocations: 4 kB / 0.7315 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.1951, allocations: 4 kB / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1951, allocations: 0 / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1951, allocations: 0 / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1951, allocations: 0 / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.1952, allocations: 0 / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1952, allocations: 4 kB / 0.7315 GB, free: 2.434 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.0001012/0.1953, allocations: 185.2 kB / 0.7317 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.1953, allocations: 112.9 kB / 0.7318 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.1954, allocations: 116.7 kB / 0.7319 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/0.1955, allocations: 180.3 kB / 0.7321 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.55e-05/0.1955, allocations: 180.2 kB / 0.7322 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/0.1956, allocations: 176.3 kB / 0.7324 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1959, allocations: 396.2 kB / 0.7328 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.606e-05/0.1959, allocations: 108.9 kB / 0.7329 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.196, allocations: 101 kB / 0.733 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.196, allocations: 184.2 kB / 0.7331 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.1961, allocations: 176.3 kB / 0.7333 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.139e-05/0.1962, allocations: 188.2 kB / 0.7335 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-05/0.1962, allocations: 180.3 kB / 0.7337 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1964, allocations: 315.7 kB / 0.734 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1965, allocations: 112.9 kB / 0.7341 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.1966, allocations: 184.2 kB / 0.7343 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1967, allocations: 105 kB / 0.7344 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.1968, allocations: 180.2 kB / 0.7345 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.1968, allocations: 104.9 kB / 0.7346 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.359e-05/0.1969, allocations: 113.3 kB / 0.7347 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1969, allocations: 0 / 0.7347 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00074/0.1976, allocations: 295 kB / 0.735 GB, free: 14.62 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.001535/0.1992, allocations: 1.183 MB / 0.7362 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.1993, allocations: 53.62 kB / 0.7362 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1993, allocations: 3.938 kB / 0.7362 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.1993, allocations: 0 / 0.7362 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1997, allocations: 463.7 kB / 0.7367 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2013, allocations: 1.616 MB / 0.7382 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2016, allocations: 0.6807 MB / 0.7389 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.2016, allocations: 0 / 0.7389 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.2016, allocations: 11.44 kB / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2016, allocations: 0 / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.2399, allocations: 7.387 MB / 0.7461 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 0 / 0.7461 GB, free: 3.281 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.21780604799278] Failed to read output from testmodel.py, exit status != 0: 11.51054768403992 11.791596074 11.596574603 Calling exit ...