Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001334/0.001334, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001418/0.001418, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8258/0.8258, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.89 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1505, allocations: 78.87 MB / 0.6506 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002414/0.1529, allocations: 1.428 MB / 0.652 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.1573, allocations: 2.901 MB / 0.6549 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.1574, allocations: 0 / 0.6549 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1574, allocations: 3.938 kB / 0.6549 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.1575, allocations: 19.84 kB / 0.6549 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.1614, allocations: 1.587 MB / 0.6564 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1615, allocations: 47.67 kB / 0.6565 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1616, allocations: 3.984 kB / 0.6565 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.1616, allocations: 15.94 kB / 0.6565 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.1617, allocations: 19.88 kB / 0.6565 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1617, allocations: 4 kB / 0.6565 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.1644, allocations: 1.537 MB / 0.658 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.1645, allocations: 0 / 0.658 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.1645, allocations: 19.88 kB / 0.658 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.1662, allocations: 1.111 MB / 0.6591 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1662, allocations: 0 / 0.6591 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1662, allocations: 3.938 kB / 0.6591 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1662, allocations: 4 kB / 0.6591 GB, free: 10.8 MB / 0.4981 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.0006452/0.1669, allocations: 0.5286 MB / 0.6596 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1669, allocations: 8.031 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.167, allocations: 114 kB / 0.6598 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.1671, allocations: 84.17 kB / 0.6598 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1672, allocations: 251.5 kB / 0.6601 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.1673, allocations: 154.5 kB / 0.6602 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.1674, allocations: 158.5 kB / 0.6604 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.243e-05/0.1675, allocations: 105 kB / 0.6605 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.1675, allocations: 75.28 kB / 0.6606 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.1676, allocations: 150.6 kB / 0.6607 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/0.1676, allocations: 154.6 kB / 0.6608 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.558e-05/0.1677, allocations: 162.4 kB / 0.661 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1681, allocations: 465.9 kB / 0.6614 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.1682, allocations: 169.1 kB / 0.6616 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.1682, allocations: 80.14 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1683, allocations: 79.28 kB / 0.6618 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.1683, allocations: 113.8 kB / 0.6619 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.815e-06/0.1683, allocations: 3.984 kB / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.267e-05/0.1684, allocations: 33.66 kB / 0.6619 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1685, allocations: 130.7 kB / 0.662 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1686, allocations: 127.7 kB / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1687, allocations: 25.7 kB / 0.6622 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1687, allocations: 100.1 kB / 0.6623 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.1687, allocations: 0 / 0.6623 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1688, allocations: 13.77 kB / 0.6623 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1689, allocations: 330.8 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.1689, allocations: 0 / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.169, allocations: 8 kB / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.169, allocations: 24.86 kB / 0.6626 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.169, allocations: 0 / 0.6626 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001224/0.1691, allocations: 49.66 kB / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1692, allocations: 12.05 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.1692, allocations: 4 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1692, allocations: 0 / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1692, allocations: 0 / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1692, allocations: 0 / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.1692, allocations: 0 / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1693, allocations: 4 kB / 0.6627 GB, free: 6.898 MB / 0.4981 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 0.000109/0.1694, allocations: 185.1 kB / 0.6629 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.1695, allocations: 116.9 kB / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.1695, allocations: 112.8 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/0.1696, allocations: 176.3 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/0.1697, allocations: 188.1 kB / 0.6634 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.888e-05/0.1697, allocations: 176.3 kB / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.17, allocations: 425.1 kB / 0.664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/0.1701, allocations: 105 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.1701, allocations: 101 kB / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/0.1702, allocations: 180.2 kB / 0.6644 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/0.1703, allocations: 180.3 kB / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.799e-05/0.1703, allocations: 180.2 kB / 0.6647 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.095e-05/0.1704, allocations: 184.2 kB / 0.6649 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1706, allocations: 311.7 kB / 0.6652 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.1707, allocations: 186 kB / 0.6654 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.1707, allocations: 192.1 kB / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.1708, allocations: 109 kB / 0.6657 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.1709, allocations: 184.2 kB / 0.6658 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.171, allocations: 101 kB / 0.6659 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.171, allocations: 96.98 kB / 0.666 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.171, allocations: 0 / 0.666 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007818/0.1718, allocations: 291 kB / 0.6663 GB, free: 2.977 MB / 0.4981 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.001375/0.1732, allocations: 1.186 MB / 0.6675 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.1733, allocations: 45.69 kB / 0.6675 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1733, allocations: 0 / 0.6675 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.1733, allocations: 4.422 kB / 0.6675 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1738, allocations: 463.7 kB / 0.6679 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1752, allocations: 1.603 MB / 0.6695 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1755, allocations: 0.6846 MB / 0.6702 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.1755, allocations: 4.031 kB / 0.6702 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1756, allocations: 21.33 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1756, allocations: 0 / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.2047, allocations: 7.085 MB / 0.6771 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.323, allocations: 12.75 kB / 0.6771 GB, free: 7.953 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)