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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 104.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9142/0.9142, allocations: 145.2 MB / 447.9 MB, free: 6.336 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.14 kB / 0.62 GB, free: 1.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1876, allocations: 86.65 MB / 0.7046 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005852/0.1935, allocations: 4.152 MB / 0.7087 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.1971, allocations: 2.433 MB / 0.7111 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1973, allocations: 12 kB / 0.7111 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1988, allocations: 0.5363 MB / 0.7116 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.1992, allocations: 250 kB / 0.7118 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1995, allocations: 135.9 kB / 0.712 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008762/0.2003, allocations: 0.8159 MB / 0.7128 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.2007, allocations: 230.6 kB / 0.713 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.2011, allocations: 294.9 kB / 0.7133 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.2015, allocations: 334.6 kB / 0.7136 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-05/0.2016, allocations: 72 kB / 0.7137 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2017, allocations: 79.94 kB / 0.7137 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.2019, allocations: 171.4 kB / 0.7139 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.2023, allocations: 382.3 kB / 0.7143 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.2033, allocations: 1.031 MB / 0.7153 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2033, allocations: 0 / 0.7153 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2033, allocations: 0 / 0.7153 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.2033, allocations: 4 kB / 0.7153 GB, free: 15.7 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.001586/0.2049, allocations: 0.9652 MB / 0.7162 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.205, allocations: 11.97 kB / 0.7162 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.2051, allocations: 90.64 kB / 0.7163 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2052, allocations: 76.47 kB / 0.7164 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/0.206, allocations: 470 kB / 0.7168 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.206, allocations: 33.38 kB / 0.7169 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.2061, allocations: 52.36 kB / 0.7169 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.2068, allocations: 434.6 kB / 0.7173 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.2069, allocations: 3.953 kB / 0.7173 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.2069, allocations: 20 kB / 0.7174 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2069, allocations: 12 kB / 0.7174 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.2076, allocations: 367.8 kB / 0.7177 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.2099, allocations: 1.52 MB / 0.7192 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.2105, allocations: 315.7 kB / 0.7195 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.211, allocations: 282.8 kB / 0.7198 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.211, allocations: 12.62 kB / 0.7198 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2111, allocations: 38.56 kB / 0.7198 GB, free: 10.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.2111, allocations: 0 / 0.7198 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009801/0.2121, allocations: 0.4927 MB / 0.7203 GB, free: 10.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2121, allocations: 63.17 kB / 0.7204 GB, free: 10.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.2127, allocations: 485.9 kB / 0.7208 GB, free: 9.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2127, allocations: 29.7 kB / 0.7209 GB, free: 9.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.213, allocations: 289.4 kB / 0.7211 GB, free: 9.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.2131, allocations: 154.6 kB / 0.7213 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.2133, allocations: 62.08 kB / 0.7213 GB, free: 9.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2134, allocations: 358.8 kB / 0.7217 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.2137, allocations: 120.7 kB / 0.7218 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.2139, allocations: 129.2 kB / 0.7219 GB, free: 8.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.2145, allocations: 298.2 kB / 0.7222 GB, free: 8.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2145, allocations: 3.938 kB / 0.7222 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000676/0.2151, allocations: 400.7 kB / 0.7226 GB, free: 7.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2152, allocations: 4 kB / 0.7226 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2152, allocations: 0 / 0.7226 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2152, allocations: 3.984 kB / 0.7226 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.2157, allocations: 123.9 kB / 0.7227 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2157, allocations: 8 kB / 0.7227 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2159, allocations: 39.72 kB / 0.7228 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2159, allocations: 12 kB / 0.7228 GB, free: 7.762 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 (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.0002309/0.2162, allocations: 189.8 kB / 0.723 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.2163, allocations: 55.61 kB / 0.723 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.2164, allocations: 61.09 kB / 0.7231 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2164, allocations: 8 kB / 0.7231 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2164, allocations: 0 / 0.7231 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2164, allocations: 11.92 kB / 0.7231 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007747/0.2172, allocations: 0.5674 MB / 0.7236 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2172, allocations: 3.938 kB / 0.7236 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.2177, allocations: 127.8 kB / 0.7238 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2177, allocations: 0 / 0.7238 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2178, allocations: 15.94 kB / 0.7238 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2178, allocations: 0 / 0.7238 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2178, allocations: 0 / 0.7238 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2188, allocations: 0.6522 MB / 0.7244 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.219, allocations: 140.6 kB / 0.7246 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.2191, allocations: 12 kB / 0.7246 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2193, allocations: 12 kB / 0.7246 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.2194, allocations: 27.89 kB / 0.7246 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2194, allocations: 12 kB / 0.7246 GB, free: 5.785 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004193/0.2198, allocations: 355.1 kB / 0.725 GB, free: 5.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2198, allocations: 0 / 0.725 GB, free: 5.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004397/0.2202, allocations: 139.7 kB / 0.7251 GB, free: 5.301 MB / 0.545 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.001659/0.2219, allocations: 1.212 MB / 0.7263 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006936/0.2226, allocations: 304.1 kB / 0.7266 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2226, allocations: 4 kB / 0.7266 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.2229, allocations: 171.4 kB / 0.7267 GB, free: 3.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.2236, allocations: 124.2 kB / 0.7268 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007905/0.2316, allocations: 4.873 MB / 0.7316 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.2323, allocations: 0.8665 MB / 0.7324 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.2325, allocations: 48.39 kB / 0.7325 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2328, allocations: 191.4 kB / 0.7327 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/0.2328, allocations: 0 / 0.7327 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0396/0.2724, allocations: 11.56 MB / 0.744 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.849/9.122, allocations: 8.547 kB / 0.744 GB, free: 2.152 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.012342285830528] Failed to read output from testmodel.py, exit status != 0: 9.198182719759643 9.513394519 9.307530496 Calling exit ...