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.00133/0.00133, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001475/0.001475, allocations: 211.3 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.9271/0.9271, allocations: 145 MB / 458.2 MB, free: 15.55 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="cs",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="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.001953/0.001953, allocations: 67.23 kB / 0.634 GB, free: 7.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1736, allocations: 87.87 MB / 0.7198 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003017/0.1766, allocations: 1.468 MB / 0.7213 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.1817, allocations: 2.993 MB / 0.7242 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.1818, allocations: 0 / 0.7242 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.1818, allocations: 3.938 kB / 0.7242 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.1819, allocations: 15.86 kB / 0.7242 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.1862, allocations: 1.711 MB / 0.7259 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1863, allocations: 47.67 kB / 0.7259 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1864, allocations: 0 / 0.7259 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.1864, allocations: 11.94 kB / 0.7259 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.1865, allocations: 23.92 kB / 0.726 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1865, allocations: 7.984 kB / 0.726 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.1895, allocations: 1.755 MB / 0.7277 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.1895, allocations: 7.875 kB / 0.7277 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.1895, allocations: 19.88 kB / 0.7277 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.1913, allocations: 1.138 MB / 0.7288 GB, free: 6.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1913, allocations: 0 / 0.7288 GB, free: 6.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1913, allocations: 3.938 kB / 0.7288 GB, free: 6.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1913, allocations: 0 / 0.7288 GB, free: 6.152 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.0006888/0.192, allocations: 480 kB / 0.7293 GB, free: 5.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1921, allocations: 8.031 kB / 0.7293 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.61e-05/0.1921, allocations: 79.47 kB / 0.7294 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.1922, allocations: 106 kB / 0.7295 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.1922, allocations: 76.22 kB / 0.7296 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1924, allocations: 205.6 kB / 0.7297 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.1925, allocations: 154.9 kB / 0.7299 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.1926, allocations: 162.7 kB / 0.73 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.1926, allocations: 101 kB / 0.7301 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.1927, allocations: 75.28 kB / 0.7302 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.1927, allocations: 150.6 kB / 0.7304 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/0.1928, allocations: 150.6 kB / 0.7305 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.1929, allocations: 166.5 kB / 0.7307 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1933, allocations: 436.9 kB / 0.7311 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.528e-05/0.1934, allocations: 169.2 kB / 0.7312 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.1934, allocations: 84.08 kB / 0.7313 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1935, allocations: 79.28 kB / 0.7314 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.594e-05/0.1936, allocations: 109.8 kB / 0.7315 GB, free: 3.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1936, allocations: 0 / 0.7315 GB, free: 3.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.919e-05/0.1936, allocations: 37.59 kB / 0.7315 GB, free: 3.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.1937, allocations: 126.7 kB / 0.7317 GB, free: 3.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1939, allocations: 139.5 kB / 0.7318 GB, free: 2.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1939, allocations: 25.7 kB / 0.7318 GB, free: 2.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.1939, allocations: 88.14 kB / 0.7319 GB, free: 2.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.1939, allocations: 0 / 0.7319 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.194, allocations: 21.72 kB / 0.7319 GB, free: 2.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1941, allocations: 314.8 kB / 0.7322 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.1942, allocations: 8 kB / 0.7322 GB, free: 2.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.1942, allocations: 4 kB / 0.7322 GB, free: 2.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.1942, allocations: 12.86 kB / 0.7322 GB, free: 2.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1942, allocations: 4.062 kB / 0.7322 GB, free: 2.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001329/0.1944, allocations: 65.55 kB / 0.7323 GB, free: 2.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1944, allocations: 4 kB / 0.7323 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1944, allocations: 4 kB / 0.7323 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1944, allocations: 0 / 0.7323 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1944, allocations: 0 / 0.7323 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1944, allocations: 4 kB / 0.7323 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.1945, allocations: 0 / 0.7323 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1945, allocations: 0 / 0.7323 GB, free: 2.371 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.0001223/0.1946, allocations: 194.2 kB / 0.7325 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.1947, allocations: 116.9 kB / 0.7326 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.1947, allocations: 112.7 kB / 0.7327 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.979e-05/0.1948, allocations: 176.3 kB / 0.7329 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-05/0.1949, allocations: 180.2 kB / 0.7331 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/0.195, allocations: 184.2 kB / 0.7332 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.1953, allocations: 388.2 kB / 0.7336 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-05/0.1953, allocations: 108.9 kB / 0.7337 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1954, allocations: 101 kB / 0.7338 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.604e-05/0.1955, allocations: 184.1 kB / 0.734 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.1956, allocations: 180.2 kB / 0.7342 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.518e-05/0.1957, allocations: 188.2 kB / 0.7343 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.279e-05/0.1958, allocations: 180.3 kB / 0.7345 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1959, allocations: 311.7 kB / 0.7348 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.196, allocations: 116.9 kB / 0.7349 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.1961, allocations: 180.2 kB / 0.7351 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.1962, allocations: 105 kB / 0.7352 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.1963, allocations: 180.3 kB / 0.7354 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1963, allocations: 104.9 kB / 0.7355 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.1964, allocations: 109.5 kB / 0.7356 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1964, allocations: 0 / 0.7356 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008771/0.1973, allocations: 295 kB / 0.7359 GB, free: 14.55 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.001603/0.1989, allocations: 1.189 MB / 0.737 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.199, allocations: 49.64 kB / 0.7371 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.199, allocations: 0 / 0.7371 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.199, allocations: 0 / 0.7371 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.1995, allocations: 467.7 kB / 0.7375 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2011, allocations: 1.606 MB / 0.7391 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2015, allocations: 0.6846 MB / 0.7397 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.495e-05/0.2015, allocations: 4 kB / 0.7397 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.2016, allocations: 15.42 kB / 0.7398 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2016, allocations: 0 / 0.7398 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.2348, allocations: 7.418 MB / 0.747 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.71, allocations: 6.719 kB / 0.747 GB, free: 3.195 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.822762250027154] Failed to read output from testmodel.py, exit status != 0: 11.87156334798783 12.196259681 12.00025273 Calling exit ...