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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.455/1.455, allocations: 288.4 MB / 303.6 MB, free: 8.012 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.0008747/0.0008747, allocations: 189.2 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.16/1.16, allocations: 205.4 MB / 0.631 GB, free: 9.938 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.0006838/0.0006839, allocations: 106.2 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 13.22 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.002655/0.1377, allocations: 3.589 MB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1398, allocations: 2.253 MB / 0.9859 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.1401, allocations: 12 kB / 0.9859 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.1411, allocations: 470 kB / 0.9864 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1414, allocations: 218.4 kB / 0.9866 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1416, allocations: 87.86 kB / 0.9867 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.1421, allocations: 0.7723 MB / 0.9874 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.1424, allocations: 280.1 kB / 0.9877 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1427, allocations: 235 kB / 0.9879 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1429, allocations: 270.8 kB / 0.9882 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.1429, allocations: 43.94 kB / 0.9882 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.143, allocations: 36 kB / 0.9883 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.1431, allocations: 127.5 kB / 0.9884 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1433, allocations: 344.2 kB / 0.9887 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.1436, allocations: 0.7907 MB / 0.9895 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1437, allocations: 0 / 0.9895 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1437, allocations: 0 / 0.9895 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1437, allocations: 0 / 0.9895 GB, free: 17.7 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.0008642/0.1445, allocations: 0.8373 MB / 0.9903 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1446, allocations: 12.03 kB / 0.9903 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.1446, allocations: 86.7 kB / 0.9904 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.1447, allocations: 72.09 kB / 0.9905 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1451, allocations: 461.6 kB / 0.9909 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1451, allocations: 33.38 kB / 0.9909 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.1452, allocations: 52.28 kB / 0.991 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.1458, allocations: 426.6 kB / 0.9914 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1458, allocations: 4 kB / 0.9914 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1458, allocations: 27.94 kB / 0.9914 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1458, allocations: 11.98 kB / 0.9914 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.1464, allocations: 371.8 kB / 0.9918 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1478, allocations: 1.543 MB / 0.9933 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.1482, allocations: 350.7 kB / 0.9936 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.1486, allocations: 352.4 kB / 0.994 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1486, allocations: 11.94 kB / 0.994 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.1486, allocations: 34.56 kB / 0.994 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.312e-06/0.1486, allocations: 0 / 0.994 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0007274/0.1494, allocations: 0.5097 MB / 0.9945 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.1494, allocations: 55.41 kB / 0.9946 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.1497, allocations: 481.9 kB / 0.995 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1498, allocations: 37.7 kB / 0.9951 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1499, allocations: 281.1 kB / 0.9953 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.15, allocations: 145.8 kB / 0.9955 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.15, allocations: 8 kB / 0.9955 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.15, allocations: 362.8 kB / 0.9958 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1502, allocations: 120.7 kB / 0.9959 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1504, allocations: 141.2 kB / 0.9961 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.1508, allocations: 298.6 kB / 0.9964 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1509, allocations: 3.938 kB / 0.9964 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004903/0.1514, allocations: 404.6 kB / 0.9967 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.1514, allocations: 4 kB / 0.9967 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.1514, allocations: 4 kB / 0.9968 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.1514, allocations: 0 / 0.9968 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.1518, allocations: 131.9 kB / 0.9969 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1518, allocations: 0 / 0.9969 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.152, allocations: 51.66 kB / 0.9969 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1521, allocations: 12 kB / 0.9969 GB, free: 9.809 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.000141/0.1522, allocations: 201.8 kB / 0.9971 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.1523, allocations: 55.28 kB / 0.9972 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.1523, allocations: 57.11 kB / 0.9972 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1524, allocations: 7.984 kB / 0.9972 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1524, allocations: 4 kB / 0.9972 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1524, allocations: 3.984 kB / 0.9973 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.1528, allocations: 0.5674 MB / 0.9978 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1528, allocations: 7.938 kB / 0.9978 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.1533, allocations: 127.9 kB / 0.9979 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1533, allocations: 4 kB / 0.9979 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1533, allocations: 8 kB / 0.9979 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1533, allocations: 8 kB / 0.998 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1533, allocations: 3.938 kB / 0.998 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.154, allocations: 0.6621 MB / 0.9986 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.1541, allocations: 140.4 kB / 0.9987 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1542, allocations: 8 kB / 0.9987 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1544, allocations: 23.98 kB / 0.9988 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1544, allocations: 27.89 kB / 0.9988 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1545, allocations: 12 kB / 0.9988 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002596/0.1547, allocations: 347.1 kB / 0.9991 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1547, allocations: 0 / 0.9991 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002936/0.155, allocations: 147.5 kB / 0.9993 GB, free: 7.312 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.0008588/0.1559, allocations: 1.224 MB / 1 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.1563, allocations: 331.4 kB / 1.001 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1564, allocations: 0 / 1.001 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.1566, allocations: 188.2 kB / 1.001 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.1571, allocations: 109.9 kB / 1.001 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.1607, allocations: 3.312 MB / 1.004 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1609, allocations: 0.8707 MB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.1611, allocations: 60.33 kB / 1.005 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.1613, allocations: 192.4 kB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.1613, allocations: 0 / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6944/0.8557, allocations: 10.42 MB / 1.016 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.856, allocations: 271.8 kB / 1.016 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.885, allocations: 0 / 1.016 GB, free: 6.488 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)