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.00187/0.00187, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001537/0.001537, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.805 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.941/0.941, allocations: 145 MB / 457.4 MB, free: 15.31 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.002037/0.002037, allocations: 67.66 kB / 0.6332 GB, free: 6.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1698, allocations: 87.89 MB / 0.719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002723/0.1725, allocations: 1.427 MB / 0.7204 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.1772, allocations: 2.674 MB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.1773, allocations: 0 / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.1773, allocations: 3.938 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.1774, allocations: 15.86 kB / 0.723 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.1821, allocations: 1.647 MB / 0.7246 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.1822, allocations: 43.73 kB / 0.7247 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1822, allocations: 7.938 kB / 0.7247 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.1822, allocations: 11.94 kB / 0.7247 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.1823, allocations: 23.84 kB / 0.7247 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1823, allocations: 4 kB / 0.7247 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.1851, allocations: 1.478 MB / 0.7262 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.1851, allocations: 7.984 kB / 0.7262 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1852, allocations: 15.88 kB / 0.7262 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.1871, allocations: 1.087 MB / 0.7273 GB, free: 6.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1871, allocations: 4 kB / 0.7273 GB, free: 6.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1871, allocations: 0 / 0.7273 GB, free: 6.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1871, allocations: 0 / 0.7273 GB, free: 6.285 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.0008396/0.1879, allocations: 472 kB / 0.7277 GB, free: 5.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.188, allocations: 11.97 kB / 0.7277 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.449e-05/0.1881, allocations: 110 kB / 0.7278 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.1882, allocations: 84.11 kB / 0.7279 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1883, allocations: 203.7 kB / 0.7281 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/0.1884, allocations: 150.9 kB / 0.7282 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.1885, allocations: 150.9 kB / 0.7284 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.1886, allocations: 108.9 kB / 0.7285 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.1886, allocations: 83.28 kB / 0.7286 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.1887, allocations: 150.6 kB / 0.7287 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7e-05/0.1888, allocations: 154.6 kB / 0.7289 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.1888, allocations: 154.5 kB / 0.729 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1892, allocations: 437 kB / 0.7294 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1893, allocations: 169.2 kB / 0.7296 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.1893, allocations: 80.14 kB / 0.7297 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.1894, allocations: 79.22 kB / 0.7297 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.1894, allocations: 113.8 kB / 0.7299 GB, free: 3.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1894, allocations: 0 / 0.7299 GB, free: 3.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.211e-05/0.1895, allocations: 33.66 kB / 0.7299 GB, free: 3.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.1896, allocations: 134.7 kB / 0.73 GB, free: 3.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1898, allocations: 125.8 kB / 0.7301 GB, free: 3.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1898, allocations: 29.69 kB / 0.7302 GB, free: 3.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.1899, allocations: 92.14 kB / 0.7302 GB, free: 3.043 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.1899, allocations: 0 / 0.7302 GB, free: 3.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1899, allocations: 13.72 kB / 0.7303 GB, free: 3.023 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.19, allocations: 322.8 kB / 0.7306 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1901, allocations: 4 kB / 0.7306 GB, free: 2.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.1901, allocations: 8 kB / 0.7306 GB, free: 2.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.1901, allocations: 16.8 kB / 0.7306 GB, free: 2.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1901, allocations: 4.031 kB / 0.7306 GB, free: 2.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000144/0.1903, allocations: 61.64 kB / 0.7307 GB, free: 2.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1903, allocations: 5.875 kB / 0.7307 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.1903, allocations: 4 kB / 0.7307 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1903, allocations: 0 / 0.7307 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1903, allocations: 0 / 0.7307 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1903, allocations: 0 / 0.7307 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.1904, allocations: 11.88 kB / 0.7307 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1904, allocations: 0 / 0.7307 GB, free: 2.578 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.0001165/0.1905, allocations: 185.1 kB / 0.7309 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.1906, allocations: 124.8 kB / 0.731 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.1906, allocations: 112.8 kB / 0.7311 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-05/0.1907, allocations: 180.2 kB / 0.7313 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.242e-05/0.1908, allocations: 176.3 kB / 0.7314 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.893e-05/0.1909, allocations: 184.2 kB / 0.7316 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.1912, allocations: 392.2 kB / 0.732 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.74e-05/0.1912, allocations: 104.9 kB / 0.7321 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.1913, allocations: 104.9 kB / 0.7322 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.902e-05/0.1913, allocations: 180.3 kB / 0.7323 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.1914, allocations: 180.2 kB / 0.7325 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.747e-05/0.1915, allocations: 180.2 kB / 0.7327 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-05/0.1916, allocations: 184.3 kB / 0.7329 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1917, allocations: 315.7 kB / 0.7332 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.1918, allocations: 112.9 kB / 0.7333 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.1919, allocations: 180.2 kB / 0.7334 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.192, allocations: 109 kB / 0.7336 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.1921, allocations: 180.2 kB / 0.7337 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.1921, allocations: 101 kB / 0.7338 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.552e-05/0.1922, allocations: 103.2 kB / 0.7339 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1922, allocations: 0 / 0.7339 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008333/0.193, allocations: 299 kB / 0.7342 GB, free: 14.77 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.001698/0.1947, allocations: 1.194 MB / 0.7354 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1948, allocations: 37.7 kB / 0.7354 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1948, allocations: 0 / 0.7354 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.1948, allocations: 0 / 0.7354 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1953, allocations: 471.8 kB / 0.7359 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1969, allocations: 1.611 MB / 0.7374 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.448e-05/0.197, allocations: 67.34 kB / 0.7375 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.197, allocations: 0 / 0.7375 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.197, allocations: 15.42 kB / 0.7375 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.197, allocations: 0 / 0.7375 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.2346, allocations: 7.859 MB / 0.7452 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.73, allocations: 0 / 0.7452 GB, free: 3.582 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.840066296979785] Failed to read output from testmodel.py, exit status != 0: 11.840166905894876 12.153585669 11.963462453 Calling exit ...