Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001257/0.001257, allocations: 106.2 kB / 16.45 MB, free: 6.035 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.001295/0.001295, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.31/1.31, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002375/0.002375, allocations: 290.3 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.143/1.143, allocations: 180.9 MB / 0.5261 GB, free: 14.67 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.002677/0.002677, allocations: 101.2 kB / 0.7248 GB, free: 39.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1564, allocations: 94.16 MB / 0.8168 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00423/0.1606, allocations: 3.042 MB / 0.8197 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.1632, allocations: 2.156 MB / 0.8218 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1633, allocations: 8 kB / 0.8219 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1646, allocations: 0.5001 MB / 0.8223 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1648, allocations: 146.9 kB / 0.8225 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.1649, allocations: 63.88 kB / 0.8225 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.1654, allocations: 445.8 kB / 0.823 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1656, allocations: 107.3 kB / 0.8231 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1658, allocations: 155.4 kB / 0.8232 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.166, allocations: 191.1 kB / 0.8234 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.166, allocations: 32 kB / 0.8234 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.1661, allocations: 36 kB / 0.8235 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1662, allocations: 99.61 kB / 0.8236 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1664, allocations: 211 kB / 0.8238 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1669, allocations: 0.5524 MB / 0.8243 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1669, allocations: 4 kB / 0.8243 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1669, allocations: 0 / 0.8243 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1669, allocations: 0 / 0.8243 GB, free: 13.7 MB / 0.5762 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.001014/0.1679, allocations: 0.7082 MB / 0.825 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.168, allocations: 16.03 kB / 0.825 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.168, allocations: 58.72 kB / 0.8251 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.1681, allocations: 48.66 kB / 0.8251 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.1686, allocations: 382.3 kB / 0.8255 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1686, allocations: 16.81 kB / 0.8255 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.1687, allocations: 20.38 kB / 0.8255 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.1691, allocations: 203.4 kB / 0.8257 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1691, allocations: 4 kB / 0.8257 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1691, allocations: 12 kB / 0.8257 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1691, allocations: 4 kB / 0.8257 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.1695, allocations: 161.7 kB / 0.8259 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1706, allocations: 0.8625 MB / 0.8267 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1708, allocations: 142.6 kB / 0.8269 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.171, allocations: 108.8 kB / 0.827 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1711, allocations: 0 / 0.827 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1711, allocations: 34.56 kB / 0.827 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.1711, allocations: 4 kB / 0.827 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0005518/0.1716, allocations: 253.5 kB / 0.8272 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1717, allocations: 55.41 kB / 0.8273 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.1721, allocations: 417.7 kB / 0.8277 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1722, allocations: 29.7 kB / 0.8277 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1723, allocations: 204.3 kB / 0.8279 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.1724, allocations: 79.34 kB / 0.828 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1724, allocations: 37.66 kB / 0.828 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1726, allocations: 346.8 kB / 0.8284 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1727, allocations: 55.91 kB / 0.8284 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1729, allocations: 66.36 kB / 0.8285 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1731, allocations: 128.8 kB / 0.8286 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1731, allocations: 4 kB / 0.8286 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003642/0.1735, allocations: 207.6 kB / 0.8288 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1735, allocations: 6.188 kB / 0.8288 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1735, allocations: 3.938 kB / 0.8288 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1735, allocations: 4 kB / 0.8288 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1738, allocations: 59.89 kB / 0.8289 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1738, allocations: 0 / 0.8289 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1739, allocations: 19.89 kB / 0.8289 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1739, allocations: 12 kB / 0.8289 GB, free: 8.746 MB / 0.5762 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.0001486/0.1741, allocations: 161.8 kB / 0.8291 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.1741, allocations: 35.77 kB / 0.8291 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.1742, allocations: 51.45 kB / 0.8291 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1742, allocations: 4 kB / 0.8291 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1742, allocations: 0 / 0.8291 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1742, allocations: 0 / 0.8291 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.1746, allocations: 373.3 kB / 0.8295 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1746, allocations: 4 kB / 0.8295 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.1748, allocations: 51.95 kB / 0.8295 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1749, allocations: 4 kB / 0.8296 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1749, allocations: 7.938 kB / 0.8296 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1749, allocations: 0 / 0.8296 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1749, allocations: 0 / 0.8296 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.1754, allocations: 383.1 kB / 0.8299 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1755, allocations: 116.9 kB / 0.83 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1756, allocations: 7.938 kB / 0.83 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1757, allocations: 8 kB / 0.8301 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1758, allocations: 11.98 kB / 0.8301 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1758, allocations: 0 / 0.8301 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003219/0.1761, allocations: 307.1 kB / 0.8304 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.8304 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002795/0.1764, allocations: 79.89 kB / 0.8304 GB, free: 7.078 MB / 0.5762 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.0008741/0.1773, allocations: 0.9246 MB / 0.8313 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.1776, allocations: 141.1 kB / 0.8315 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1776, allocations: 0 / 0.8315 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1777, allocations: 75.81 kB / 0.8315 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.1782, allocations: 101.8 kB / 0.8316 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.1825, allocations: 3.497 MB / 0.8351 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1829, allocations: 0.7951 MB / 0.8358 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.1831, allocations: 46.88 kB / 0.8359 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1832, allocations: 111.4 kB / 0.836 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.1832, allocations: 0 / 0.836 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.2155, allocations: 8.051 MB / 0.8438 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.244, allocations: 15 kB / 0.8439 GB, free: 9.488 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.082384896930307] Failed to read output from testmodel.py, exit status != 0: 8.315790622960776 8.337472121 8.166762163 Calling exit ...