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.InternalResistancesTwoUTube.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.001344/0.001344, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001464/0.001464, allocations: 216 kB / 23.04 MB, free: 5.078 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.901/0.901, allocations: 145 MB / 458.2 MB, free: 15.51 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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.003003/0.003003, allocations: 71.86 kB / 0.634 GB, free: 7.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2136, allocations: 87.89 MB / 0.7199 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00301/0.2166, allocations: 1.456 MB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.2217, allocations: 2.989 MB / 0.7242 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.2218, allocations: 0 / 0.7242 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.2218, allocations: 7.922 kB / 0.7242 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.2219, allocations: 15.86 kB / 0.7242 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.2266, allocations: 1.719 MB / 0.7259 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2267, allocations: 47.67 kB / 0.7259 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2268, allocations: 0 / 0.7259 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.2268, allocations: 15.92 kB / 0.726 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.2268, allocations: 11.94 kB / 0.726 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2268, allocations: 8 kB / 0.726 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.2299, allocations: 1.77 MB / 0.7277 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.2299, allocations: 7.938 kB / 0.7277 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.2299, allocations: 19.86 kB / 0.7277 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.232, allocations: 1.138 MB / 0.7288 GB, free: 6.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.232, allocations: 0 / 0.7288 GB, free: 6.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.232, allocations: 0 / 0.7288 GB, free: 6.105 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.232, allocations: 0 / 0.7288 GB, free: 6.105 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.0008536/0.2328, allocations: 472 kB / 0.7293 GB, free: 5.613 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2329, allocations: 12.03 kB / 0.7293 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.514e-05/0.2329, allocations: 79.47 kB / 0.7294 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.233, allocations: 106 kB / 0.7295 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.2331, allocations: 76.22 kB / 0.7296 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.2333, allocations: 209.6 kB / 0.7298 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.694e-05/0.2334, allocations: 150.9 kB / 0.7299 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.2335, allocations: 158.7 kB / 0.73 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.2336, allocations: 101 kB / 0.7301 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-05/0.2336, allocations: 75.28 kB / 0.7302 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.2337, allocations: 154.6 kB / 0.7304 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.031e-05/0.2338, allocations: 158.5 kB / 0.7305 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.2339, allocations: 158.5 kB / 0.7307 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.2343, allocations: 433 kB / 0.7311 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2345, allocations: 169.2 kB / 0.7312 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.2345, allocations: 84.08 kB / 0.7313 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.2346, allocations: 79.22 kB / 0.7314 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.2346, allocations: 117.8 kB / 0.7315 GB, free: 3.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2346, allocations: 0 / 0.7315 GB, free: 3.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.2347, allocations: 33.59 kB / 0.7315 GB, free: 3.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.2348, allocations: 130.7 kB / 0.7317 GB, free: 3.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.235, allocations: 131.9 kB / 0.7318 GB, free: 2.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2351, allocations: 25.7 kB / 0.7318 GB, free: 2.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.2351, allocations: 96.14 kB / 0.7319 GB, free: 2.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.2351, allocations: 0 / 0.7319 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.2352, allocations: 17.7 kB / 0.7319 GB, free: 2.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2354, allocations: 314.8 kB / 0.7322 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.2354, allocations: 4 kB / 0.7322 GB, free: 2.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.2354, allocations: 11.98 kB / 0.7322 GB, free: 2.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.2355, allocations: 16.86 kB / 0.7323 GB, free: 2.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2355, allocations: 64 / 0.7323 GB, free: 2.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000163/0.2356, allocations: 57.53 kB / 0.7323 GB, free: 2.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2357, allocations: 12.06 kB / 0.7323 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.2357, allocations: 0 / 0.7323 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2357, allocations: 4 kB / 0.7323 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-06/0.2357, allocations: 3.984 kB / 0.7323 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2357, allocations: 0 / 0.7323 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.2357, allocations: 0 / 0.7323 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2357, allocations: 0 / 0.7323 GB, free: 2.324 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.0001413/0.2359, allocations: 190.2 kB / 0.7325 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.236, allocations: 108.9 kB / 0.7326 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.236, allocations: 120.7 kB / 0.7327 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.27e-05/0.2361, allocations: 180.2 kB / 0.7329 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.991e-05/0.2362, allocations: 180.2 kB / 0.7331 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-05/0.2363, allocations: 180.3 kB / 0.7332 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.2366, allocations: 392.2 kB / 0.7336 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.947e-05/0.2366, allocations: 105 kB / 0.7337 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2367, allocations: 108.9 kB / 0.7338 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.2369, allocations: 180.2 kB / 0.734 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.278e-05/0.2369, allocations: 180.3 kB / 0.7342 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.76e-05/0.237, allocations: 180.2 kB / 0.7343 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001132/0.2371, allocations: 180.3 kB / 0.7345 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.2373, allocations: 319.6 kB / 0.7348 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.2374, allocations: 108.9 kB / 0.7349 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2375, allocations: 184.2 kB / 0.7351 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.2376, allocations: 109 kB / 0.7352 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.2377, allocations: 180.3 kB / 0.7354 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.2377, allocations: 104.9 kB / 0.7355 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.936e-05/0.2378, allocations: 105.3 kB / 0.7356 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2378, allocations: 0 / 0.7356 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009691/0.2388, allocations: 299 kB / 0.7359 GB, free: 14.51 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.001735/0.2405, allocations: 1.188 MB / 0.737 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.2406, allocations: 49.62 kB / 0.7371 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2406, allocations: 0 / 0.7371 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.2406, allocations: 4.062 kB / 0.7371 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.2411, allocations: 463.7 kB / 0.7375 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2429, allocations: 1.61 MB / 0.7391 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.2432, allocations: 0.6885 MB / 0.7398 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.2432, allocations: 4 kB / 0.7398 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.2433, allocations: 11.44 kB / 0.7398 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2433, allocations: 0 / 0.7398 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.2785, allocations: 7.413 MB / 0.747 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.68, allocations: 11.33 kB / 0.747 GB, free: 3.145 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.850720575952437] Failed to read output from testmodel.py, exit status != 0: 11.84154261101503 12.187575036 11.951889889 Calling exit ...