Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.481/1.481, allocations: 288.4 MB / 303.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008732/0.0008732, allocations: 186.8 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.4 MB / 0.631 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006729/0.0006729, allocations: 105.3 kB / 0.7444 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 15.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002335/0.1548, allocations: 2.591 MB / 0.9828 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1568, allocations: 1.999 MB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.157, allocations: 8 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.1581, allocations: 438.2 kB / 0.9851 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1583, allocations: 139.1 kB / 0.9853 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.014e-05/0.1584, allocations: 35.97 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1587, allocations: 439.7 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1589, allocations: 131.9 kB / 0.9858 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.159, allocations: 131.4 kB / 0.986 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1591, allocations: 163.3 kB / 0.9861 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1592, allocations: 16 kB / 0.9861 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.1592, allocations: 24 kB / 0.9862 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.1593, allocations: 75.73 kB / 0.9862 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1594, allocations: 224.6 kB / 0.9864 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.1597, allocations: 442.7 kB / 0.9869 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1597, allocations: 0 / 0.9869 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1597, allocations: 0 / 0.9869 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1597, allocations: 4 kB / 0.9869 GB, free: 20.39 MB / 0.6198 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.0006583/0.1604, allocations: 0.6424 MB / 0.9875 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1604, allocations: 8.031 kB / 0.9875 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1604, allocations: 54.73 kB / 0.9876 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1605, allocations: 44.38 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1608, allocations: 378.1 kB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1608, allocations: 16.81 kB / 0.988 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1609, allocations: 24.36 kB / 0.988 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.1612, allocations: 207.4 kB / 0.9882 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1612, allocations: 0 / 0.9882 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1612, allocations: 8 kB / 0.9882 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1612, allocations: 8 kB / 0.9882 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.1616, allocations: 173.6 kB / 0.9884 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.1624, allocations: 0.8739 MB / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1626, allocations: 162.5 kB / 0.9894 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1628, allocations: 120.8 kB / 0.9895 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1628, allocations: 0 / 0.9895 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/0.1628, allocations: 38.88 kB / 0.9895 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 8.52e-07/0.1628, allocations: 0 / 0.9895 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004775/0.1633, allocations: 274.2 kB / 0.9898 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.1634, allocations: 55.41 kB / 0.9899 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.1637, allocations: 417.7 kB / 0.9903 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1637, allocations: 33.7 kB / 0.9903 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.1638, allocations: 204.2 kB / 0.9905 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1638, allocations: 63.02 kB / 0.9905 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.1638, allocations: 4 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.1639, allocations: 346.8 kB / 0.9909 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.164, allocations: 59.97 kB / 0.9909 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1642, allocations: 65.69 kB / 0.991 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.1644, allocations: 150.6 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1644, allocations: 0 / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003057/0.1647, allocations: 217.1 kB / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.1647, allocations: 4 kB / 0.9914 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1648, allocations: 3.938 kB / 0.9914 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1648, allocations: 0 / 0.9914 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.165, allocations: 67.91 kB / 0.9914 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.165, allocations: 7.984 kB / 0.9914 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1651, allocations: 15.84 kB / 0.9914 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1652, allocations: 11.94 kB / 0.9915 GB, free: 15.45 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.1653, allocations: 161.8 kB / 0.9916 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.1653, allocations: 35.62 kB / 0.9916 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.1654, allocations: 51.52 kB / 0.9917 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1654, allocations: 0 / 0.9917 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1654, allocations: 0 / 0.9917 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1654, allocations: 0 / 0.9917 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1657, allocations: 377.3 kB / 0.9921 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1657, allocations: 0 / 0.9921 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.1659, allocations: 63.83 kB / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1659, allocations: 0 / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1659, allocations: 7.938 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.166, allocations: 4 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.166, allocations: 4 kB / 0.9921 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.1664, allocations: 393.5 kB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1665, allocations: 108.7 kB / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1665, allocations: 15.92 kB / 0.9926 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1667, allocations: 12 kB / 0.9926 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1667, allocations: 11.92 kB / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1668, allocations: 7.984 kB / 0.9927 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002168/0.167, allocations: 303.2 kB / 0.9929 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.167, allocations: 0 / 0.9929 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002418/0.1672, allocations: 71.84 kB / 0.993 GB, free: 13.76 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006028/0.1678, allocations: 0.9363 MB / 0.9939 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1681, allocations: 148 kB / 0.9941 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1681, allocations: 4 kB / 0.9941 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1683, allocations: 81.62 kB / 0.9941 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.1688, allocations: 90.75 kB / 0.9942 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1712, allocations: 2.215 MB / 0.9964 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.1714, allocations: 0.7953 MB / 0.9972 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.959e-05/0.1715, allocations: 38.95 kB / 0.9972 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1716, allocations: 111.4 kB / 0.9973 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.1717, allocations: 0 / 0.9973 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5396/0.7113, allocations: 7.241 MB / 1.004 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.7115, allocations: 262.3 kB / 1.005 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.845, allocations: 0 / 1.005 GB, free: 1.957 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)