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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.007442/0.007441, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001785/0.001785, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.8076/0.8076, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 77.17 kB / 0.5952 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 82.03 MB / 0.6753 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002159/0.138, allocations: 1.431 MB / 0.6767 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.1417, allocations: 2.852 MB / 0.6794 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.1417, allocations: 4 kB / 0.6794 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.1418, allocations: 3.938 kB / 0.6794 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.1418, allocations: 15.84 kB / 0.6795 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.1452, allocations: 1.568 MB / 0.681 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.1453, allocations: 35.73 kB / 0.681 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.1453, allocations: 8 kB / 0.681 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.1453, allocations: 19.92 kB / 0.6811 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.1454, allocations: 11.88 kB / 0.6811 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1454, allocations: 4 kB / 0.6811 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.1472, allocations: 1.486 MB / 0.6825 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.1472, allocations: 4 kB / 0.6825 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.1473, allocations: 19.81 kB / 0.6825 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1484, allocations: 1.079 MB / 0.6836 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1485, allocations: 3.938 kB / 0.6836 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1485, allocations: 4 kB / 0.6836 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.1485, allocations: 0 / 0.6836 GB, free: 2.254 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.0005129/0.149, allocations: 0.5208 MB / 0.6841 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.149, allocations: 8.031 kB / 0.6841 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1491, allocations: 110 kB / 0.6842 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.1491, allocations: 80.17 kB / 0.6843 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1493, allocations: 259.5 kB / 0.6845 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.1493, allocations: 158.9 kB / 0.6847 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.1494, allocations: 158.9 kB / 0.6849 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.702e-05/0.1495, allocations: 104.9 kB / 0.685 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1495, allocations: 75.28 kB / 0.685 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1495, allocations: 150.6 kB / 0.6852 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.1496, allocations: 150.6 kB / 0.6853 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.1496, allocations: 154.6 kB / 0.6855 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.1499, allocations: 461.9 kB / 0.6859 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.15, allocations: 173.1 kB / 0.6861 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.15, allocations: 80.14 kB / 0.6861 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.15, allocations: 87.22 kB / 0.6862 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.1501, allocations: 105.8 kB / 0.6863 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1501, allocations: 0 / 0.6863 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.423e-05/0.1502, allocations: 37.59 kB / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1502, allocations: 126.7 kB / 0.6865 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1504, allocations: 132.6 kB / 0.6866 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1504, allocations: 29.69 kB / 0.6866 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.1504, allocations: 88.14 kB / 0.6867 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.1504, allocations: 4 kB / 0.6867 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.1505, allocations: 17.72 kB / 0.6867 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.1506, allocations: 314.8 kB / 0.687 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.1506, allocations: 8 kB / 0.687 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.1506, allocations: 4 kB / 0.6871 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.1506, allocations: 20.94 kB / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1507, allocations: 0 / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001211/0.1508, allocations: 61.55 kB / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1508, allocations: 8 kB / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.1508, allocations: 0 / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1508, allocations: 0 / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1509, allocations: 4 kB / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1509, allocations: 0 / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.1509, allocations: 0 / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1509, allocations: 0 / 0.6871 GB, free: 14.38 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.69e-05/0.151, allocations: 189.1 kB / 0.6873 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.151, allocations: 120.9 kB / 0.6874 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.1511, allocations: 112.8 kB / 0.6875 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.1511, allocations: 180.2 kB / 0.6877 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.424e-05/0.1512, allocations: 180.2 kB / 0.6879 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/0.1513, allocations: 184.2 kB / 0.6881 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1515, allocations: 417.2 kB / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.1515, allocations: 104.9 kB / 0.6886 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.1515, allocations: 105 kB / 0.6887 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.925e-05/0.1516, allocations: 180.2 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.1516, allocations: 180.2 kB / 0.689 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.864e-05/0.1517, allocations: 180.3 kB / 0.6892 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-05/0.1517, allocations: 188.2 kB / 0.6894 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1519, allocations: 307.7 kB / 0.6897 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.1519, allocations: 186.1 kB / 0.6898 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.152, allocations: 184.3 kB / 0.69 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1521, allocations: 108.9 kB / 0.6901 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.1521, allocations: 176.3 kB / 0.6903 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.1522, allocations: 108.9 kB / 0.6904 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.1522, allocations: 105.1 kB / 0.6905 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 0.6905 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006672/0.1529, allocations: 279 kB / 0.6907 GB, free: 10.46 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.001192/0.1541, allocations: 1.166 MB / 0.6919 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.1542, allocations: 37.64 kB / 0.6919 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1542, allocations: 0 / 0.6919 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.1543, allocations: 368 / 0.6919 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1546, allocations: 476.3 kB / 0.6924 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1559, allocations: 1.58 MB / 0.6939 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1561, allocations: 0.6807 MB / 0.6946 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.1562, allocations: 0 / 0.6946 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.1562, allocations: 23.47 kB / 0.6946 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1562, allocations: 0 / 0.6946 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1798, allocations: 6.921 MB / 0.7014 GB, free: 15.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.531, allocations: 14.69 kB / 0.7014 GB, free: 15.66 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)