Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001975/0.001975, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.002251/0.002251, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.9175/0.9175, allocations: 145.2 MB / 447.9 MB, free: 13.8 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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.42 kB / 0.62 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 86.65 MB / 0.7046 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005044/0.1616, allocations: 3.05 MB / 0.7076 GB, free: 136 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1647, allocations: 2.152 MB / 0.7097 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.165, allocations: 8 kB / 0.7097 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1664, allocations: 0.4938 MB / 0.7102 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1667, allocations: 150.8 kB / 0.7103 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.1669, allocations: 55.94 kB / 0.7104 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.1674, allocations: 449.8 kB / 0.7108 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.1677, allocations: 112 kB / 0.7109 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.1679, allocations: 155.4 kB / 0.7111 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1682, allocations: 187.1 kB / 0.7113 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.1682, allocations: 32 kB / 0.7113 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.1683, allocations: 36 kB / 0.7113 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1684, allocations: 99.66 kB / 0.7114 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1686, allocations: 214.9 kB / 0.7116 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.1692, allocations: 0.5734 MB / 0.7122 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1693, allocations: 0 / 0.7122 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1693, allocations: 0 / 0.7122 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.1693, allocations: 0 / 0.7122 GB, free: 11.43 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001123/0.1704, allocations: 0.7237 MB / 0.7129 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1704, allocations: 12.03 kB / 0.7129 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/0.1705, allocations: 54.72 kB / 0.7129 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.1706, allocations: 48.66 kB / 0.713 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.1712, allocations: 386.4 kB / 0.7134 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1713, allocations: 12.81 kB / 0.7134 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.1713, allocations: 20.38 kB / 0.7134 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1717, allocations: 207.4 kB / 0.7136 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1718, allocations: 3.984 kB / 0.7136 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1718, allocations: 8 kB / 0.7136 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1718, allocations: 4 kB / 0.7136 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.1722, allocations: 165.7 kB / 0.7138 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1735, allocations: 0.8586 MB / 0.7146 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1738, allocations: 146.6 kB / 0.7147 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.174, allocations: 100.8 kB / 0.7148 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.174, allocations: 0 / 0.7148 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.174, allocations: 38.5 kB / 0.7149 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 9.22e-07/0.174, allocations: 0 / 0.7149 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006174/0.1747, allocations: 263.2 kB / 0.7151 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.1747, allocations: 51.41 kB / 0.7152 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.1752, allocations: 421.7 kB / 0.7156 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1752, allocations: 25.7 kB / 0.7156 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1754, allocations: 208.3 kB / 0.7158 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.1755, allocations: 67.42 kB / 0.7159 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.1756, allocations: 33.66 kB / 0.7159 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1757, allocations: 350.8 kB / 0.7162 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1759, allocations: 55.97 kB / 0.7163 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.176, allocations: 61.5 kB / 0.7163 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1763, allocations: 130.8 kB / 0.7165 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1763, allocations: 0 / 0.7165 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003956/0.1767, allocations: 213.4 kB / 0.7167 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1768, allocations: 4 kB / 0.7167 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1768, allocations: 3.938 kB / 0.7167 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1768, allocations: 7.984 kB / 0.7167 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.1771, allocations: 51.91 kB / 0.7167 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1771, allocations: 0 / 0.7167 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1772, allocations: 27.83 kB / 0.7168 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1772, allocations: 4 kB / 0.7168 GB, free: 6.461 MB / 0.5294 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 (20): * Single equations (assignments): 20 * 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.0001781/0.1774, allocations: 161.8 kB / 0.7169 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.1775, allocations: 35.77 kB / 0.717 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-05/0.1776, allocations: 47.52 kB / 0.717 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1776, allocations: 4 kB / 0.717 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1776, allocations: 7.938 kB / 0.717 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1776, allocations: 0 / 0.717 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.1781, allocations: 377.3 kB / 0.7174 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1781, allocations: 0 / 0.7174 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1783, allocations: 59.89 kB / 0.7174 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1783, allocations: 8 kB / 0.7174 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1783, allocations: 3.938 kB / 0.7174 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1783, allocations: 0 / 0.7174 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1783, allocations: 3.984 kB / 0.7174 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.179, allocations: 383 kB / 0.7178 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1791, allocations: 124.8 kB / 0.7179 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.1791, allocations: 8 kB / 0.7179 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1793, allocations: 8 kB / 0.7179 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1793, allocations: 11.98 kB / 0.718 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.1794, allocations: 4 kB / 0.718 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000353/0.1797, allocations: 303.1 kB / 0.7182 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1797, allocations: 0 / 0.7182 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003061/0.18, allocations: 71.89 kB / 0.7183 GB, free: 4.785 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.001022/0.181, allocations: 0.9307 MB / 0.7192 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1814, allocations: 138.2 kB / 0.7194 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1814, allocations: 8 kB / 0.7194 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1816, allocations: 75.91 kB / 0.7194 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1821, allocations: 91.67 kB / 0.7195 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.1869, allocations: 3.492 MB / 0.7229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.1874, allocations: 0.7951 MB / 0.7237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.1875, allocations: 30.97 kB / 0.7237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1877, allocations: 115.4 kB / 0.7238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.1877, allocations: 4 kB / 0.7239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.2246, allocations: 8.069 MB / 0.7317 GB, free: 7.215 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.585, allocations: 11.05 kB / 0.7317 GB, free: 7.207 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.358886421658099] Failed to read output from testmodel.py, exit status != 0: 8.65813563996926 8.678272273 8.505357021 Calling exit ...