Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 195.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002208/0.002208, allocations: 274.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 97.23 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.127, allocations: 86.98 MB / 0.6803 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002459/0.1295, allocations: 1.426 MB / 0.6817 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.1336, allocations: 2.896 MB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.1337, allocations: 0 / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.1337, allocations: 7.922 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.1338, allocations: 11.88 kB / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.1375, allocations: 1.583 MB / 0.6861 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.1376, allocations: 43.73 kB / 0.6862 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.1376, allocations: 4 kB / 0.6862 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.1377, allocations: 15.94 kB / 0.6862 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.1377, allocations: 23.86 kB / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1377, allocations: 0 / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.1398, allocations: 1.455 MB / 0.6876 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1398, allocations: 7.984 kB / 0.6876 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.1398, allocations: 15.88 kB / 0.6877 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1413, allocations: 1.107 MB / 0.6887 GB, free: 7.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1413, allocations: 0 / 0.6887 GB, free: 7.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1413, allocations: 0 / 0.6887 GB, free: 7.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1413, allocations: 0 / 0.6887 GB, free: 7.898 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005967/0.1419, allocations: 0.5185 MB / 0.6892 GB, free: 7.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.142, allocations: 11.97 kB / 0.6893 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.142, allocations: 106 kB / 0.6894 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.1421, allocations: 84.12 kB / 0.6894 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1423, allocations: 253.2 kB / 0.6897 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.1423, allocations: 150.9 kB / 0.6898 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.1424, allocations: 162.9 kB / 0.69 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.457e-05/0.1424, allocations: 112.9 kB / 0.6901 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1424, allocations: 75.28 kB / 0.6902 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1425, allocations: 150.6 kB / 0.6903 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.1425, allocations: 154.5 kB / 0.6904 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.1426, allocations: 150.6 kB / 0.6906 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.1429, allocations: 473.8 kB / 0.691 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.016e-05/0.1429, allocations: 169.1 kB / 0.6912 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.143, allocations: 80.14 kB / 0.6913 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.143, allocations: 83.22 kB / 0.6914 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.143, allocations: 117.8 kB / 0.6915 GB, free: 4.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.143, allocations: 0 / 0.6915 GB, free: 4.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.313e-05/0.1431, allocations: 29.7 kB / 0.6915 GB, free: 4.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1432, allocations: 130.6 kB / 0.6916 GB, free: 4.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1433, allocations: 136.1 kB / 0.6918 GB, free: 4.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1433, allocations: 25.7 kB / 0.6918 GB, free: 4.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.1434, allocations: 88.14 kB / 0.6919 GB, free: 4.477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1434, allocations: 4 kB / 0.6919 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.1434, allocations: 21.7 kB / 0.6919 GB, free: 4.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.1435, allocations: 314.8 kB / 0.6922 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.1436, allocations: 7.984 kB / 0.6922 GB, free: 4.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.1436, allocations: 4 kB / 0.6922 GB, free: 4.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.1436, allocations: 20.92 kB / 0.6922 GB, free: 4.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1436, allocations: 0 / 0.6922 GB, free: 4.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000122/0.1438, allocations: 53.48 kB / 0.6923 GB, free: 4.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1438, allocations: 12.06 kB / 0.6923 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.1438, allocations: 4 kB / 0.6923 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1438, allocations: 7.922 kB / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1438, allocations: 0 / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1438, allocations: 0 / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.1439, allocations: 0 / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1439, allocations: 3.984 kB / 0.6923 GB, free: 4.008 MB / 494.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.134e-05/0.144, allocations: 185.8 kB / 0.6925 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.144, allocations: 116.8 kB / 0.6926 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1441, allocations: 116.8 kB / 0.6927 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-05/0.1441, allocations: 176.3 kB / 0.6929 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.759e-05/0.1442, allocations: 180.3 kB / 0.693 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-05/0.1443, allocations: 184.1 kB / 0.6932 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.1445, allocations: 417.2 kB / 0.6936 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/0.1445, allocations: 112.9 kB / 0.6937 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.1445, allocations: 101 kB / 0.6938 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.101e-05/0.1446, allocations: 176.3 kB / 0.694 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.1447, allocations: 184.2 kB / 0.6942 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-05/0.1447, allocations: 180.3 kB / 0.6943 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-05/0.1448, allocations: 184.2 kB / 0.6945 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1449, allocations: 311.7 kB / 0.6948 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.145, allocations: 190 kB / 0.695 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.145, allocations: 176.3 kB / 0.6952 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1451, allocations: 108.9 kB / 0.6953 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1452, allocations: 184.3 kB / 0.6954 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1452, allocations: 104.9 kB / 0.6955 GB, free: 476 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.1453, allocations: 99.27 kB / 0.6956 GB, free: 376 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1453, allocations: 0 / 0.6956 GB, free: 376 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007187/0.146, allocations: 279.8 kB / 0.6959 GB, free: 96 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001331/0.1473, allocations: 1.179 MB / 0.697 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.1474, allocations: 37.7 kB / 0.6971 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1475, allocations: 0 / 0.6971 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.1475, allocations: 8 kB / 0.6971 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1478, allocations: 469.9 kB / 0.6975 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1491, allocations: 1.598 MB / 0.6991 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1493, allocations: 0.6807 MB / 0.6998 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.1494, allocations: 0 / 0.6998 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1494, allocations: 15.44 kB / 0.6998 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1494, allocations: 0 / 0.6998 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3274/0.4767, allocations: 7.084 MB / 0.7067 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/9.792, allocations: 25.67 kB / 0.7067 GB, free: 5.082 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)