Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.471/1.471, allocations: 287.4 MB / 302.6 MB, free: 8.301 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.001021/0.001021, allocations: 186 kB / 371.1 MB, free: 10.83 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.151/1.151, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006622/0.0006622, allocations: 89.23 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003438, allocations: 12.94 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.002848/0.1505, allocations: 3.585 MB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1527, allocations: 2.257 MB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.1531, allocations: 12 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.1541, allocations: 454 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.1545, allocations: 210.5 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1547, allocations: 79.94 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.1552, allocations: 0.7755 MB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.1556, allocations: 276.1 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1558, allocations: 239 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.156, allocations: 274.8 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.1561, allocations: 36 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.1562, allocations: 32 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.1563, allocations: 127.5 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.1564, allocations: 165.3 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.1568, allocations: 0.7906 MB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1568, allocations: 0 / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1568, allocations: 0 / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.1568, allocations: 0 / 0.9878 GB, free: 18.74 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009351/0.1578, allocations: 0.8412 MB / 0.9886 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1578, allocations: 8.031 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.861e-05/0.1579, allocations: 90.7 kB / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.158, allocations: 72.09 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1584, allocations: 457.7 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1584, allocations: 37.38 kB / 0.9893 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1585, allocations: 52.28 kB / 0.9893 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.1591, allocations: 430.6 kB / 0.9897 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1591, allocations: 7.938 kB / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1591, allocations: 16 kB / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1591, allocations: 15.94 kB / 0.9898 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.1597, allocations: 375.8 kB / 0.9901 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1612, allocations: 1.539 MB / 0.9916 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1616, allocations: 338.9 kB / 0.992 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.162, allocations: 370.9 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.162, allocations: 7.938 kB / 0.9923 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.162, allocations: 38.34 kB / 0.9924 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.162, allocations: 0 / 0.9924 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0007423/0.1628, allocations: 0.5058 MB / 0.9929 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.1628, allocations: 59.41 kB / 0.9929 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.1632, allocations: 485.9 kB / 0.9934 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1632, allocations: 29.7 kB / 0.9934 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1633, allocations: 280.3 kB / 0.9937 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.1634, allocations: 149.8 kB / 0.9938 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.1634, allocations: 7.938 kB / 0.9938 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.1635, allocations: 362.8 kB / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1637, allocations: 121.5 kB / 0.9943 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.1639, allocations: 133.2 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.1643, allocations: 302.6 kB / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1643, allocations: 0 / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005003/0.1648, allocations: 404.6 kB / 0.9951 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1649, allocations: 8 kB / 0.9951 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1649, allocations: 3.984 kB / 0.9951 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1649, allocations: 3.938 kB / 0.9951 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.1653, allocations: 131.8 kB / 0.9952 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1653, allocations: 0 / 0.9952 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1656, allocations: 47.67 kB / 0.9953 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1656, allocations: 12 kB / 0.9953 GB, free: 10.84 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 (46): * Single equations (assignments): 46 * 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.0001488/0.1657, allocations: 201.8 kB / 0.9955 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.1658, allocations: 55.28 kB / 0.9955 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.1659, allocations: 65.09 kB / 0.9956 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1659, allocations: 8 kB / 0.9956 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1659, allocations: 0 / 0.9956 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1659, allocations: 0 / 0.9956 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1663, allocations: 0.5713 MB / 0.9962 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1664, allocations: 7.922 kB / 0.9962 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.1668, allocations: 123.9 kB / 0.9963 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1668, allocations: 8 kB / 0.9963 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1668, allocations: 4 kB / 0.9963 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1668, allocations: 4 kB / 0.9963 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1668, allocations: 3.984 kB / 0.9963 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.1676, allocations: 0.6621 MB / 0.9969 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.1677, allocations: 140.3 kB / 0.9971 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.1677, allocations: 15.98 kB / 0.9971 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1679, allocations: 19.98 kB / 0.9971 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.168, allocations: 23.97 kB / 0.9971 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.168, allocations: 8 kB / 0.9971 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003035/0.1683, allocations: 351.1 kB / 0.9975 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.82e-07/0.1683, allocations: 0 / 0.9975 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003103/0.1686, allocations: 155.5 kB / 0.9976 GB, free: 8.348 MB / 0.6198 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 (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.000905/0.1696, allocations: 1.216 MB / 0.9988 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.17, allocations: 327.5 kB / 0.9991 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.17, allocations: 0 / 0.9991 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.1703, allocations: 187.9 kB / 0.9993 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.1708, allocations: 127.1 kB / 0.9994 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.1745, allocations: 3.312 MB / 1.003 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.1748, allocations: 0.8707 MB / 1.004 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.175, allocations: 64.31 kB / 1.004 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.1751, allocations: 187.4 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.1751, allocations: 0 / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2785/0.4537, allocations: 10.32 MB / 1.014 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.4539, allocations: 260.2 kB / 1.014 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.449, allocations: 0 / 1.014 GB, free: 7.602 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)