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.001478/0.001478, 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.001635/0.001635, allocations: 208.7 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.781 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.9203/0.9203, allocations: 145 MB / 457.4 MB, free: 15.3 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.002183/0.002183, allocations: 72 kB / 0.6332 GB, free: 6.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1942, allocations: 87.88 MB / 0.719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003234/0.1974, allocations: 1.423 MB / 0.7204 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.2024, allocations: 2.635 MB / 0.723 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.2024, allocations: 0 / 0.723 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.2025, allocations: 3.938 kB / 0.723 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.2025, allocations: 19.84 kB / 0.723 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.2073, allocations: 1.614 MB / 0.7246 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.2074, allocations: 43.73 kB / 0.7246 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.2074, allocations: 7.922 kB / 0.7246 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.2075, allocations: 11.94 kB / 0.7246 GB, free: 9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.166e-05/0.2075, allocations: 15.94 kB / 0.7246 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2075, allocations: 4 kB / 0.7247 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.2103, allocations: 1.451 MB / 0.7261 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.2104, allocations: 3.938 kB / 0.7261 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.2104, allocations: 15.94 kB / 0.7261 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.2129, allocations: 1.064 MB / 0.7271 GB, free: 6.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2129, allocations: 0 / 0.7271 GB, free: 6.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2129, allocations: 0 / 0.7271 GB, free: 6.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2129, allocations: 0 / 0.7271 GB, free: 6.441 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.001218/0.2141, allocations: 469.6 kB / 0.7276 GB, free: 5.953 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.2142, allocations: 12.03 kB / 0.7276 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.514e-05/0.2143, allocations: 110 kB / 0.7277 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2144, allocations: 80.22 kB / 0.7278 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.2146, allocations: 201.7 kB / 0.728 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/0.2147, allocations: 150.9 kB / 0.7281 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.2148, allocations: 154.9 kB / 0.7283 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2149, allocations: 112.9 kB / 0.7284 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.215, allocations: 75.28 kB / 0.7284 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.2151, allocations: 150.6 kB / 0.7286 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/0.2151, allocations: 150.6 kB / 0.7287 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.2152, allocations: 154.5 kB / 0.7289 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2156, allocations: 437 kB / 0.7293 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2158, allocations: 165.1 kB / 0.7294 GB, free: 3.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.2158, allocations: 84.19 kB / 0.7295 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/0.2159, allocations: 83.22 kB / 0.7296 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.541e-05/0.216, allocations: 117.8 kB / 0.7297 GB, free: 3.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.923e-06/0.216, allocations: 0 / 0.7297 GB, free: 3.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001104/0.2161, allocations: 29.7 kB / 0.7297 GB, free: 3.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2162, allocations: 130.7 kB / 0.7299 GB, free: 3.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2164, allocations: 132 kB / 0.73 GB, free: 3.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2164, allocations: 25.7 kB / 0.73 GB, free: 3.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.2165, allocations: 92.14 kB / 0.7301 GB, free: 3.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.2165, allocations: 0 / 0.7301 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.2165, allocations: 17.72 kB / 0.7301 GB, free: 3.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2167, allocations: 322.8 kB / 0.7304 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.2167, allocations: 4 kB / 0.7304 GB, free: 2.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.2168, allocations: 8 kB / 0.7304 GB, free: 2.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.2168, allocations: 12.8 kB / 0.7305 GB, free: 2.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2168, allocations: 0 / 0.7305 GB, free: 2.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001788/0.217, allocations: 57.58 kB / 0.7305 GB, free: 2.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.217, allocations: 4 kB / 0.7305 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.2171, allocations: 4 kB / 0.7305 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2171, allocations: 0 / 0.7305 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.2171, allocations: 0 / 0.7305 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2171, allocations: 4.062 kB / 0.7305 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2172, allocations: 3.938 kB / 0.7305 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2172, allocations: 4 kB / 0.7305 GB, free: 2.754 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.0001775/0.2174, allocations: 189.1 kB / 0.7307 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2175, allocations: 116.8 kB / 0.7308 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.2176, allocations: 116.8 kB / 0.7309 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/0.2178, allocations: 176.3 kB / 0.7311 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001435/0.2179, allocations: 180.2 kB / 0.7313 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/0.218, allocations: 184.2 kB / 0.7314 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.2184, allocations: 392.2 kB / 0.7318 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.202e-05/0.2185, allocations: 109 kB / 0.7319 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.2186, allocations: 104.9 kB / 0.732 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.2187, allocations: 176.3 kB / 0.7322 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.2188, allocations: 184.2 kB / 0.7324 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001117/0.2189, allocations: 184.1 kB / 0.7325 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.993e-05/0.219, allocations: 180.3 kB / 0.7327 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.2194, allocations: 315.7 kB / 0.733 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2195, allocations: 108.9 kB / 0.7331 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.2196, allocations: 184.2 kB / 0.7333 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2197, allocations: 101 kB / 0.7334 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2198, allocations: 184.2 kB / 0.7336 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.12e-05/0.2199, allocations: 109 kB / 0.7337 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.856e-05/0.22, allocations: 101 kB / 0.7338 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.22, allocations: 0 / 0.7338 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00121/0.2212, allocations: 295 kB / 0.734 GB, free: 14.94 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.002359/0.2235, allocations: 1.167 MB / 0.7352 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.2237, allocations: 45.69 kB / 0.7352 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2237, allocations: 4.062 kB / 0.7352 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.2237, allocations: 0 / 0.7352 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.2245, allocations: 455.7 kB / 0.7357 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.227, allocations: 1.588 MB / 0.7372 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.2271, allocations: 71.27 kB / 0.7373 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.2271, allocations: 0 / 0.7373 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.2272, allocations: 15.47 kB / 0.7373 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.2272, allocations: 4 kB / 0.7373 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.268, allocations: 7.653 MB / 0.7448 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.74, allocations: 9.094 kB / 0.7448 GB, free: 4.004 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.90683957701549] Failed to read output from testmodel.py, exit status != 0: 11.850837578997016 12.143077494 11.927164636 Calling exit ...