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.001631/0.001631, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001634/0.001634, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9261/0.9261, allocations: 145 MB / 458.2 MB, free: 15.28 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.002351/0.002351, allocations: 66.3 kB / 0.6339 GB, free: 6.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1691, allocations: 87.9 MB / 0.7198 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003075/0.1722, allocations: 1.422 MB / 0.7212 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.177, allocations: 2.678 MB / 0.7238 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.177, allocations: 0 / 0.7238 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.177, allocations: 3.938 kB / 0.7238 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.1771, allocations: 11.86 kB / 0.7238 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.1815, allocations: 1.661 MB / 0.7254 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.1816, allocations: 39.69 kB / 0.7255 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.1816, allocations: 11.92 kB / 0.7255 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.1817, allocations: 11.94 kB / 0.7255 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.1817, allocations: 19.92 kB / 0.7255 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.1817, allocations: 0 / 0.7255 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.1844, allocations: 1.594 MB / 0.7271 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1845, allocations: 3.938 kB / 0.7271 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1845, allocations: 19.92 kB / 0.7271 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.1865, allocations: 1.091 MB / 0.7281 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1865, allocations: 0 / 0.7281 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.537e-06/0.1865, allocations: 3.984 kB / 0.7281 GB, free: 6.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1865, allocations: 0 / 0.7281 GB, free: 6.145 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.0007263/0.1872, allocations: 472 kB / 0.7286 GB, free: 5.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1872, allocations: 8.031 kB / 0.7286 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.155e-05/0.1873, allocations: 75.47 kB / 0.7287 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.1873, allocations: 110 kB / 0.7288 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.1874, allocations: 84.17 kB / 0.7289 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1876, allocations: 201.7 kB / 0.7291 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.1877, allocations: 158.9 kB / 0.7292 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.1877, allocations: 158.6 kB / 0.7294 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.492e-05/0.1878, allocations: 105 kB / 0.7295 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.1878, allocations: 75.28 kB / 0.7295 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.1879, allocations: 154.6 kB / 0.7297 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.188, allocations: 150.6 kB / 0.7298 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/0.188, allocations: 154.5 kB / 0.73 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1884, allocations: 429 kB / 0.7304 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1885, allocations: 177.1 kB / 0.7305 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.1885, allocations: 84.08 kB / 0.7306 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.1885, allocations: 79.28 kB / 0.7307 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.1886, allocations: 113.8 kB / 0.7308 GB, free: 3.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1886, allocations: 0 / 0.7308 GB, free: 3.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.81e-05/0.1887, allocations: 33.59 kB / 0.7308 GB, free: 3.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1887, allocations: 126.7 kB / 0.731 GB, free: 3.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1889, allocations: 131.7 kB / 0.7311 GB, free: 2.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1889, allocations: 25.7 kB / 0.7311 GB, free: 2.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.189, allocations: 96.12 kB / 0.7312 GB, free: 2.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.189, allocations: 0 / 0.7312 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.189, allocations: 17.72 kB / 0.7312 GB, free: 2.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1892, allocations: 318.8 kB / 0.7315 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.1892, allocations: 8 kB / 0.7315 GB, free: 2.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.1892, allocations: 4 kB / 0.7315 GB, free: 2.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.1892, allocations: 24.73 kB / 0.7316 GB, free: 2.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1892, allocations: 0 / 0.7316 GB, free: 2.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001322/0.1894, allocations: 53.59 kB / 0.7316 GB, free: 2.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1894, allocations: 7.984 kB / 0.7316 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.1894, allocations: 4 kB / 0.7316 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1894, allocations: 0 / 0.7316 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-07/0.1894, allocations: 0 / 0.7316 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1894, allocations: 0 / 0.7316 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.1895, allocations: 12.06 kB / 0.7316 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1895, allocations: 4 kB / 0.7316 GB, free: 2.359 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.0001103/0.1896, allocations: 187.5 kB / 0.7318 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.1896, allocations: 112.9 kB / 0.7319 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.1897, allocations: 116.8 kB / 0.732 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-05/0.1898, allocations: 176.3 kB / 0.7322 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-05/0.1899, allocations: 180.2 kB / 0.7324 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/0.1899, allocations: 180.3 kB / 0.7325 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.1902, allocations: 396.2 kB / 0.7329 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.533e-05/0.1902, allocations: 101 kB / 0.733 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.1903, allocations: 105 kB / 0.7331 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.487e-05/0.1904, allocations: 180.2 kB / 0.7333 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.1904, allocations: 184.2 kB / 0.7335 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-05/0.1905, allocations: 180.2 kB / 0.7336 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-05/0.1906, allocations: 188.3 kB / 0.7338 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.1908, allocations: 311.7 kB / 0.7341 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1908, allocations: 112.9 kB / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.1909, allocations: 184.2 kB / 0.7344 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.191, allocations: 101 kB / 0.7345 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.1911, allocations: 184.2 kB / 0.7347 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.1911, allocations: 101 kB / 0.7348 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.095e-05/0.1912, allocations: 109.8 kB / 0.7349 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1912, allocations: 0 / 0.7349 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008788/0.1921, allocations: 294.9 kB / 0.7352 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.001512/0.1936, allocations: 1.195 MB / 0.7363 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1937, allocations: 45.69 kB / 0.7364 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1937, allocations: 0 / 0.7364 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.1938, allocations: 0 / 0.7364 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.0004886/0.1942, allocations: 463.7 kB / 0.7368 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1959, allocations: 1.619 MB / 0.7384 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.1959, allocations: 63.34 kB / 0.7384 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.196, allocations: 8.078 kB / 0.7385 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.196, allocations: 15.44 kB / 0.7385 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.196, allocations: 0 / 0.7385 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.2264, allocations: 7.497 MB / 0.7458 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.87, allocations: 15.23 kB / 0.7458 GB, free: 3.727 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.950680914102122] Failed to read output from testmodel.py, exit status != 0: 12.033365373965353 12.333126691 12.143867313 Calling exit ...