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.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/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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_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.001356/0.001356, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001241/0.001241, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8246/0.8246, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 70.73 kB / 0.5736 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1493, allocations: 78.88 MB / 0.6506 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002498/0.1519, allocations: 1.421 MB / 0.652 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.1563, allocations: 2.897 MB / 0.6549 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.1563, allocations: 0 / 0.6549 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.1564, allocations: 3.938 kB / 0.6549 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.1565, allocations: 19.84 kB / 0.6549 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.1603, allocations: 1.583 MB / 0.6564 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.1604, allocations: 47.72 kB / 0.6565 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1604, allocations: 4 kB / 0.6565 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.1604, allocations: 15.94 kB / 0.6565 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.1605, allocations: 19.86 kB / 0.6565 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1605, allocations: 0 / 0.6565 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.1627, allocations: 1.537 MB / 0.658 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1628, allocations: 4 kB / 0.658 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1628, allocations: 15.88 kB / 0.658 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1643, allocations: 1.118 MB / 0.6591 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1643, allocations: 0 / 0.6591 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1643, allocations: 4 kB / 0.6591 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1643, allocations: 0 / 0.6591 GB, free: 10.83 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.0006132/0.165, allocations: 0.5247 MB / 0.6596 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.165, allocations: 19.98 kB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.1651, allocations: 117.8 kB / 0.6598 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.1652, allocations: 80.17 kB / 0.6598 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1654, allocations: 257.4 kB / 0.6601 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.1655, allocations: 154.5 kB / 0.6602 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.1656, allocations: 158.5 kB / 0.6604 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.1657, allocations: 105 kB / 0.6605 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.1657, allocations: 75.28 kB / 0.6606 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.1658, allocations: 154.5 kB / 0.6607 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/0.1658, allocations: 150.6 kB / 0.6608 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.1659, allocations: 158.5 kB / 0.661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1663, allocations: 469.9 kB / 0.6614 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.1663, allocations: 165.1 kB / 0.6616 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.1664, allocations: 80.14 kB / 0.6617 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.1664, allocations: 75.28 kB / 0.6618 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.1665, allocations: 113.8 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1665, allocations: 4 kB / 0.6619 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.347e-05/0.1666, allocations: 33.66 kB / 0.6619 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.1666, allocations: 126.7 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1668, allocations: 133.8 kB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1668, allocations: 25.7 kB / 0.6622 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1669, allocations: 88.12 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.1669, allocations: 0 / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1669, allocations: 21.77 kB / 0.6623 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1671, allocations: 326.8 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.1671, allocations: 8 kB / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.1671, allocations: 4 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.1672, allocations: 16.8 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1672, allocations: 0 / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001114/0.1673, allocations: 53.64 kB / 0.6627 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1673, allocations: 5.562 kB / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.1673, allocations: 8.062 kB / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1673, allocations: 0 / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1673, allocations: 4.062 kB / 0.6627 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1674, allocations: 0 / 0.6627 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1674, allocations: 4 kB / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1674, allocations: 0 / 0.6627 GB, free: 6.934 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.0001252/0.1675, allocations: 189 kB / 0.6629 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.1676, allocations: 120.9 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1677, allocations: 108.9 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-05/0.1678, allocations: 180.3 kB / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.672e-05/0.1679, allocations: 180.2 kB / 0.6634 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-05/0.168, allocations: 176.3 kB / 0.6636 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1682, allocations: 429 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.1683, allocations: 101 kB / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.1683, allocations: 105 kB / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.601e-05/0.1684, allocations: 184.2 kB / 0.6644 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.1685, allocations: 180.2 kB / 0.6646 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.93e-05/0.1686, allocations: 184.2 kB / 0.6647 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.7e-05/0.1687, allocations: 180.3 kB / 0.6649 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1688, allocations: 311.7 kB / 0.6652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.1689, allocations: 190 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.169, allocations: 188.2 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.1691, allocations: 101 kB / 0.6657 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1692, allocations: 180.2 kB / 0.6658 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.1693, allocations: 109 kB / 0.6659 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.1694, allocations: 103.2 kB / 0.666 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1694, allocations: 0 / 0.666 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007659/0.1701, allocations: 287 kB / 0.6663 GB, free: 3.004 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.00145/0.1716, allocations: 1.186 MB / 0.6675 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1717, allocations: 41.69 kB / 0.6675 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1717, allocations: 0 / 0.6675 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.1717, allocations: 368 / 0.6675 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.1722, allocations: 469.9 kB / 0.6679 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1737, allocations: 1.61 MB / 0.6695 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.174, allocations: 0.6807 MB / 0.6702 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.174, allocations: 4 kB / 0.6702 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.1741, allocations: 11.44 kB / 0.6702 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1741, allocations: 4.031 kB / 0.6702 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.204, allocations: 7.083 MB / 0.6771 GB, free: 8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.301, allocations: 12.03 kB / 0.6771 GB, free: 7.992 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)