Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 169.3 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006971/0.000697, allocations: 89.72 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002765, allocations: 14.91 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002367/0.1703, allocations: 2.762 MB / 0.8989 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1721, allocations: 2.161 MB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1722, allocations: 4 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1733, allocations: 473.2 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1735, allocations: 139.1 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.651e-05/0.1736, allocations: 47.95 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.1739, allocations: 465.8 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.174, allocations: 131.8 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1742, allocations: 135.4 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1743, allocations: 171.1 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.1744, allocations: 20 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.199e-05/0.1744, allocations: 20 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.1745, allocations: 75.69 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1746, allocations: 206.8 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.1749, allocations: 0.5136 MB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1749, allocations: 0 / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1749, allocations: 0 / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1749, allocations: 0 / 0.9033 GB, free: 60.73 MB / 0.6042 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.0006765/0.1756, allocations: 0.6424 MB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1757, allocations: 8.031 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1757, allocations: 62.72 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1758, allocations: 48.38 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1761, allocations: 374.1 kB / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1761, allocations: 12.81 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.1761, allocations: 28.31 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.1764, allocations: 207.4 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1765, allocations: 0 / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1765, allocations: 4 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1765, allocations: 8 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.1768, allocations: 177.6 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.1776, allocations: 0.8778 MB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.1779, allocations: 158.6 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1781, allocations: 114.2 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1781, allocations: 4 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.1781, allocations: 30.56 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1781, allocations: 4 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004833/0.1786, allocations: 277.3 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.1786, allocations: 55.31 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1789, allocations: 421.7 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.179, allocations: 25.7 kB / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.1791, allocations: 208.2 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1791, allocations: 63.05 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1791, allocations: 25.7 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.1792, allocations: 346.8 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1793, allocations: 59.97 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1795, allocations: 70.33 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1797, allocations: 146.7 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1797, allocations: 0 / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003027/0.18, allocations: 217.1 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.18, allocations: 4 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.18, allocations: 7.938 kB / 0.9079 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1801, allocations: 0 / 0.9079 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1803, allocations: 59.97 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1803, allocations: 4 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1804, allocations: 31.77 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1805, allocations: 7.938 kB / 0.908 GB, free: 55.76 MB / 0.6042 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.0001063/0.1806, allocations: 161.8 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.1806, allocations: 39.53 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.1807, allocations: 43.53 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1807, allocations: 4 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1807, allocations: 0 / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1807, allocations: 7.969 kB / 0.9082 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.181, allocations: 373.3 kB / 0.9086 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.181, allocations: 0 / 0.9086 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.1812, allocations: 59.91 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1812, allocations: 4 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1812, allocations: 7.938 kB / 0.9086 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1813, allocations: 0 / 0.9086 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1813, allocations: 0 / 0.9086 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.1817, allocations: 389.5 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1818, allocations: 120.7 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1818, allocations: 7.938 kB / 0.9091 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.182, allocations: 15.98 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.182, allocations: 7.984 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1821, allocations: 8.062 kB / 0.9091 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002207/0.1823, allocations: 307.1 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.41e-07/0.1823, allocations: 4 kB / 0.9094 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002622/0.1826, allocations: 75.78 kB / 0.9095 GB, free: 54.06 MB / 0.6042 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.0006395/0.1832, allocations: 0.9323 MB / 0.9104 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.1835, allocations: 158 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1835, allocations: 0 / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1836, allocations: 83.89 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1842, allocations: 89.39 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.1876, allocations: 3.672 MB / 0.9143 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.1878, allocations: 0.7951 MB / 0.9151 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.1879, allocations: 34.97 kB / 0.9151 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.188, allocations: 115.4 kB / 0.9153 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.188, allocations: 0 / 0.9153 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/0.3196, allocations: 7.39 MB / 0.9225 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.3198, allocations: 284.1 kB / 0.9227 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.324, allocations: 4.062 kB / 0.9227 GB, free: 40.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)