Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001663/0.001663, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001448/0.001448, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.451/1.451, allocations: 230.6 MB / 256 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.918/0.918, allocations: 145 MB / 457.4 MB, free: 15.29 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.002063/0.002063, allocations: 66.8 kB / 0.6331 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1841, allocations: 87.9 MB / 0.719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005558/0.1897, allocations: 3.779 MB / 0.7227 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003472/0.1931, allocations: 2.231 MB / 0.7249 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.1934, allocations: 8 kB / 0.7249 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.1948, allocations: 497.4 kB / 0.7253 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.1953, allocations: 258 kB / 0.7256 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1955, allocations: 139.8 kB / 0.7257 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008483/0.1964, allocations: 0.802 MB / 0.7265 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.1968, allocations: 227 kB / 0.7267 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.1972, allocations: 303 kB / 0.727 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.1976, allocations: 286.6 kB / 0.7273 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.1977, allocations: 72 kB / 0.7273 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1978, allocations: 76 kB / 0.7274 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.198, allocations: 175.4 kB / 0.7276 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.1983, allocations: 314.6 kB / 0.7279 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.1993, allocations: 1.035 MB / 0.7289 GB, free: 4.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1993, allocations: 0 / 0.7289 GB, free: 4.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1993, allocations: 0 / 0.7289 GB, free: 4.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.1993, allocations: 0 / 0.7289 GB, free: 4.574 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001486/0.2008, allocations: 0.8938 MB / 0.7298 GB, free: 3.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2008, allocations: 8.031 kB / 0.7298 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.2009, allocations: 90.7 kB / 0.7299 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.201, allocations: 76.47 kB / 0.7299 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.2017, allocations: 408.2 kB / 0.7303 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.2018, allocations: 45.3 kB / 0.7304 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.2018, allocations: 44.38 kB / 0.7304 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.2026, allocations: 434.6 kB / 0.7308 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.2026, allocations: 4 kB / 0.7308 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.2026, allocations: 20 kB / 0.7308 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2027, allocations: 12 kB / 0.7309 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.2034, allocations: 363.8 kB / 0.7312 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.2054, allocations: 1.245 MB / 0.7324 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.206, allocations: 312.2 kB / 0.7327 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.2065, allocations: 293.2 kB / 0.733 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2065, allocations: 7.938 kB / 0.733 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2065, allocations: 35.25 kB / 0.733 GB, free: 188 kB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.2065, allocations: 0 / 0.733 GB, free: 188 kB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001046/0.2076, allocations: 0.4983 MB / 0.7335 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.2076, allocations: 55.41 kB / 0.7336 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.2082, allocations: 497.9 kB / 0.7341 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2082, allocations: 29.7 kB / 0.7341 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2085, allocations: 280.7 kB / 0.7343 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2086, allocations: 154.6 kB / 0.7345 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2087, allocations: 62.08 kB / 0.7346 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2089, allocations: 358.8 kB / 0.7349 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.2091, allocations: 124.7 kB / 0.735 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2094, allocations: 125.5 kB / 0.7351 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.2099, allocations: 298 kB / 0.7354 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2099, allocations: 4 kB / 0.7354 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006653/0.2106, allocations: 400.4 kB / 0.7358 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2106, allocations: 7.938 kB / 0.7358 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2106, allocations: 4 kB / 0.7358 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2106, allocations: 0 / 0.7358 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.2111, allocations: 123.9 kB / 0.7359 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2111, allocations: 4 kB / 0.7359 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.2113, allocations: 35.73 kB / 0.736 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.2113, allocations: 12 kB / 0.736 GB, free: 13.11 MB / 0.5606 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002263/0.2116, allocations: 193.8 kB / 0.7362 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.2116, allocations: 55.61 kB / 0.7362 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2118, allocations: 69.09 kB / 0.7363 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2118, allocations: 4 kB / 0.7363 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2118, allocations: 0 / 0.7363 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2118, allocations: 3.984 kB / 0.7363 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.2124, allocations: 480.3 kB / 0.7368 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2124, allocations: 3.938 kB / 0.7368 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.2129, allocations: 127.8 kB / 0.7369 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2129, allocations: 0 / 0.7369 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.2129, allocations: 12 kB / 0.7369 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2129, allocations: 4 kB / 0.7369 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2129, allocations: 4 kB / 0.7369 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2139, allocations: 0.647 MB / 0.7375 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2141, allocations: 63.58 kB / 0.7376 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.2141, allocations: 8 kB / 0.7376 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.2143, allocations: 19.98 kB / 0.7376 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.2144, allocations: 23.95 kB / 0.7376 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.2144, allocations: 12 kB / 0.7377 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004148/0.2148, allocations: 355.1 kB / 0.738 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2148, allocations: 0 / 0.738 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004036/0.2152, allocations: 139.7 kB / 0.7381 GB, free: 10.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001332/0.2166, allocations: 1.212 MB / 0.7393 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005884/0.2172, allocations: 299.6 kB / 0.7396 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2172, allocations: 0 / 0.7396 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.2175, allocations: 167.6 kB / 0.7398 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.2181, allocations: 131.9 kB / 0.7399 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.2249, allocations: 4.864 MB / 0.7446 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2252, allocations: 275.2 kB / 0.7449 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.2254, allocations: 52.39 kB / 0.7449 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.2257, allocations: 191.4 kB / 0.7451 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/0.2257, allocations: 0 / 0.7451 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3419/0.5676, allocations: 12.64 MB / 0.7575 GB, free: 27.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.88, allocations: 5.719 kB / 0.7575 GB, free: 27.71 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.590645575895905] Failed to read output from testmodel.py, exit status != 0: 11.990586169064045 12.010410111 11.808271443 Calling exit ...