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.InternalResistancesOneUTube.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.001399/0.001399, allocations: 109.2 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.001637/0.001637, allocations: 220 kB / 22.26 MB, free: 5.121 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.977 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.979/0.979, allocations: 145 MB / 457.4 MB, free: 15.5 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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.00205/0.00205, allocations: 62.69 kB / 0.6333 GB, free: 7.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 87.89 MB / 0.7191 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002753/0.1936, allocations: 1.442 MB / 0.7205 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1982, allocations: 2.958 MB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.1983, allocations: 0 / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.1983, allocations: 3.984 kB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.1984, allocations: 15.81 kB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.2027, allocations: 1.685 MB / 0.7251 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.2028, allocations: 43.73 kB / 0.7251 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.2028, allocations: 3.984 kB / 0.7251 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.2029, allocations: 19.94 kB / 0.7251 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.176e-05/0.2029, allocations: 19.86 kB / 0.7251 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2029, allocations: 4 kB / 0.7251 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.2057, allocations: 1.712 MB / 0.7268 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.2058, allocations: 7.984 kB / 0.7268 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.2058, allocations: 15.88 kB / 0.7268 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.2076, allocations: 1.111 MB / 0.7279 GB, free: 6.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2076, allocations: 0 / 0.7279 GB, free: 6.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2076, allocations: 0 / 0.7279 GB, free: 6.262 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2076, allocations: 4 kB / 0.7279 GB, free: 6.258 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.0006721/0.2083, allocations: 468.1 kB / 0.7284 GB, free: 5.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2083, allocations: 12.03 kB / 0.7284 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.2084, allocations: 106 kB / 0.7285 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.2085, allocations: 84.11 kB / 0.7286 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2086, allocations: 199.4 kB / 0.7288 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.2087, allocations: 158.9 kB / 0.7289 GB, free: 5.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.2088, allocations: 154.9 kB / 0.729 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.2089, allocations: 104.9 kB / 0.7291 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.2089, allocations: 75.28 kB / 0.7292 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.209, allocations: 154.5 kB / 0.7294 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.209, allocations: 150.6 kB / 0.7295 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.2091, allocations: 162.4 kB / 0.7297 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.2094, allocations: 433 kB / 0.7301 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.2095, allocations: 169.1 kB / 0.7302 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.2096, allocations: 84.14 kB / 0.7303 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2096, allocations: 83.22 kB / 0.7304 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.2096, allocations: 109.9 kB / 0.7305 GB, free: 3.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2096, allocations: 0 / 0.7305 GB, free: 3.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.279e-05/0.2097, allocations: 37.59 kB / 0.7305 GB, free: 3.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.2098, allocations: 126.7 kB / 0.7307 GB, free: 3.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2099, allocations: 135.8 kB / 0.7308 GB, free: 3.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.21, allocations: 25.7 kB / 0.7308 GB, free: 3.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.21, allocations: 100.1 kB / 0.7309 GB, free: 3.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.21, allocations: 0 / 0.7309 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.2101, allocations: 17.72 kB / 0.7309 GB, free: 2.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2102, allocations: 310.8 kB / 0.7312 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.2102, allocations: 11.98 kB / 0.7312 GB, free: 2.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.2102, allocations: 4 kB / 0.7312 GB, free: 2.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.2103, allocations: 12.8 kB / 0.7313 GB, free: 2.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2103, allocations: 0 / 0.7313 GB, free: 2.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.2104, allocations: 57.56 kB / 0.7313 GB, free: 2.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2104, allocations: 8.062 kB / 0.7313 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2104, allocations: 4 kB / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2105, allocations: 0 / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2105, allocations: 0 / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2105, allocations: 0 / 0.7313 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.2105, allocations: 3.953 kB / 0.7313 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2105, allocations: 4 kB / 0.7313 GB, free: 2.562 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.0001053/0.2106, allocations: 181.1 kB / 0.7315 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.2107, allocations: 120.9 kB / 0.7316 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.2107, allocations: 108.8 kB / 0.7317 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.405e-05/0.2108, allocations: 176.3 kB / 0.7319 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.367e-05/0.2109, allocations: 184.2 kB / 0.7321 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.222e-05/0.2109, allocations: 176.3 kB / 0.7322 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2112, allocations: 396.2 kB / 0.7326 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/0.2112, allocations: 105 kB / 0.7327 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.2113, allocations: 101 kB / 0.7328 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.6e-05/0.2114, allocations: 180.2 kB / 0.733 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/0.2114, allocations: 184.3 kB / 0.7332 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-05/0.2115, allocations: 184.2 kB / 0.7333 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.398e-05/0.2116, allocations: 184.2 kB / 0.7335 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2118, allocations: 311.7 kB / 0.7338 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.2118, allocations: 112.9 kB / 0.7339 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.2119, allocations: 188.2 kB / 0.7341 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.212, allocations: 109 kB / 0.7342 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.2121, allocations: 180.3 kB / 0.7344 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.2122, allocations: 104.9 kB / 0.7345 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.042e-05/0.2122, allocations: 99.27 kB / 0.7346 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2122, allocations: 0 / 0.7346 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009162/0.2131, allocations: 291 kB / 0.7348 GB, free: 14.76 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.00143/0.2146, allocations: 1.177 MB / 0.736 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2147, allocations: 41.64 kB / 0.736 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2147, allocations: 0 / 0.736 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.2147, allocations: 4 kB / 0.736 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.2151, allocations: 469.8 kB / 0.7365 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2167, allocations: 1.583 MB / 0.738 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.217, allocations: 0.6845 MB / 0.7387 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.217, allocations: 0 / 0.7387 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.2171, allocations: 19.45 kB / 0.7387 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.2171, allocations: 0 / 0.7387 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.254, allocations: 7.178 MB / 0.7457 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.69, allocations: 9.219 kB / 0.7457 GB, free: 3.66 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.978221141998802] Failed to read output from testmodel.py, exit status != 0: 11.8014356149979 12.148675 11.937699561 Calling exit ...