Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004406/0.004406, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.793/0.793, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 65.38 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1306, allocations: 82.02 MB / 0.6752 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002667/0.1333, allocations: 1.45 MB / 0.6767 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004085/0.1374, allocations: 2.884 MB / 0.6795 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.1375, allocations: 0 / 0.6795 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.1375, allocations: 3.938 kB / 0.6795 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.1376, allocations: 23.78 kB / 0.6795 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.1413, allocations: 1.594 MB / 0.6811 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1414, allocations: 47.66 kB / 0.6811 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1414, allocations: 6.812 kB / 0.6811 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.566e-05/0.1415, allocations: 15.94 kB / 0.6811 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.1415, allocations: 19.92 kB / 0.6811 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1415, allocations: 0 / 0.6811 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.1436, allocations: 1.533 MB / 0.6826 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1437, allocations: 7.938 kB / 0.6826 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1437, allocations: 19.88 kB / 0.6827 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1452, allocations: 1.092 MB / 0.6837 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1452, allocations: 0 / 0.6837 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1452, allocations: 0 / 0.6837 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1452, allocations: 4 kB / 0.6837 GB, free: 2.102 MB / 0.5137 GB 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.0006276/0.1458, allocations: 0.5185 MB / 0.6842 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1459, allocations: 12.03 kB / 0.6843 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.1459, allocations: 110 kB / 0.6844 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.146, allocations: 84.12 kB / 0.6844 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1462, allocations: 258.2 kB / 0.6847 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.1462, allocations: 150.9 kB / 0.6848 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.1463, allocations: 154.9 kB / 0.685 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/0.1464, allocations: 108.9 kB / 0.6851 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.1464, allocations: 79.28 kB / 0.6852 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.1464, allocations: 150.6 kB / 0.6853 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.1465, allocations: 154.5 kB / 0.6854 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.1465, allocations: 166.5 kB / 0.6856 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.1468, allocations: 465.8 kB / 0.6861 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.207e-05/0.1469, allocations: 165.1 kB / 0.6862 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.1469, allocations: 80.14 kB / 0.6863 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.147, allocations: 79.22 kB / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.147, allocations: 113.8 kB / 0.6865 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.147, allocations: 0 / 0.6865 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.866e-05/0.1471, allocations: 29.7 kB / 0.6865 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.1471, allocations: 126.7 kB / 0.6866 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1473, allocations: 137.7 kB / 0.6867 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1473, allocations: 29.64 kB / 0.6868 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1473, allocations: 96.12 kB / 0.6869 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.1473, allocations: 0 / 0.6869 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1474, allocations: 21.77 kB / 0.6869 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.1475, allocations: 318.8 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.1475, allocations: 4 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.1475, allocations: 8 kB / 0.6872 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.1476, allocations: 12.8 kB / 0.6872 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1476, allocations: 0 / 0.6872 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001212/0.1477, allocations: 61.53 kB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1477, allocations: 8.062 kB / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.1477, allocations: 4 kB / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1478, allocations: 0 / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.1478, allocations: 0 / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.1478, allocations: 0 / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.1478, allocations: 4 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1478, allocations: 0 / 0.6873 GB, free: 14.21 MB / 0.5294 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 (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 7.387e-05/0.1479, allocations: 185.1 kB / 0.6875 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.1479, allocations: 116.8 kB / 0.6876 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.148, allocations: 112.8 kB / 0.6877 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/0.148, allocations: 180.3 kB / 0.6879 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.896e-05/0.1481, allocations: 180.2 kB / 0.688 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.1481, allocations: 180.3 kB / 0.6882 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1483, allocations: 417.1 kB / 0.6886 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/0.1484, allocations: 105 kB / 0.6887 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.1484, allocations: 117 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-05/0.1485, allocations: 180.2 kB / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.1485, allocations: 176.3 kB / 0.6892 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.934e-05/0.1486, allocations: 184.2 kB / 0.6893 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-05/0.1486, allocations: 184.3 kB / 0.6895 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1488, allocations: 307.7 kB / 0.6898 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.1488, allocations: 186 kB / 0.69 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.1489, allocations: 188.2 kB / 0.6902 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.149, allocations: 101 kB / 0.6903 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.149, allocations: 188.2 kB / 0.6904 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1491, allocations: 105 kB / 0.6905 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.1491, allocations: 105.2 kB / 0.6906 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1491, allocations: 0 / 0.6906 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006595/0.1498, allocations: 283.8 kB / 0.6909 GB, free: 10.29 MB / 0.5294 GB 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.001224/0.151, allocations: 1.167 MB / 0.692 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.1511, allocations: 38.06 kB / 0.6921 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1511, allocations: 0 / 0.6921 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.1511, allocations: 8.047 kB / 0.6921 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1515, allocations: 460.4 kB / 0.6925 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1527, allocations: 1.596 MB / 0.6941 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1529, allocations: 0.6885 MB / 0.6948 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.1529, allocations: 0 / 0.6948 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1529, allocations: 11.44 kB / 0.6948 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1529, allocations: 0 / 0.6948 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.1756, allocations: 7.139 MB / 0.7017 GB, free: 15.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.418, allocations: 14.38 kB / 0.7018 GB, free: 15.26 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)