Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_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.006804/0.006804, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001178/0.001178, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7588/0.7588, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.98 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 80.2 MB / 0.6593 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003218/0.1491, allocations: 1.421 MB / 0.6607 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004873/0.1541, allocations: 2.833 MB / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1541, allocations: 0 / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1542, allocations: 7.922 kB / 0.6634 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.1543, allocations: 15.86 kB / 0.6634 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.1581, allocations: 1.544 MB / 0.665 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.1583, allocations: 43.67 kB / 0.665 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1583, allocations: 15.91 kB / 0.665 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.1583, allocations: 19.86 kB / 0.665 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.685e-05/0.1584, allocations: 15.94 kB / 0.665 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1584, allocations: 4 kB / 0.665 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.1605, allocations: 1.474 MB / 0.6665 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.1605, allocations: 7.922 kB / 0.6665 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1606, allocations: 23.86 kB / 0.6665 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.162, allocations: 1.068 MB / 0.6676 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1621, allocations: 0 / 0.6676 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.035e-06/0.1621, allocations: 4 kB / 0.6676 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1621, allocations: 0 / 0.6676 GB, free: 2.191 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.0006205/0.1627, allocations: 0.5324 MB / 0.6681 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1628, allocations: 8.031 kB / 0.6681 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.1628, allocations: 106 kB / 0.6682 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.1629, allocations: 80.22 kB / 0.6683 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.163, allocations: 251.6 kB / 0.6685 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.1631, allocations: 154.5 kB / 0.6687 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.1632, allocations: 154.5 kB / 0.6688 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.228e-05/0.1632, allocations: 113 kB / 0.6689 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.1633, allocations: 79.28 kB / 0.669 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.1633, allocations: 150.6 kB / 0.6691 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/0.1634, allocations: 150.6 kB / 0.6693 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.1634, allocations: 154.6 kB / 0.6694 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.1638, allocations: 465.9 kB / 0.6699 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.1638, allocations: 173.1 kB / 0.67 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.1639, allocations: 80.14 kB / 0.6701 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1639, allocations: 75.28 kB / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.164, allocations: 113.8 kB / 0.6703 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.164, allocations: 0 / 0.6703 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.3e-05/0.1641, allocations: 29.64 kB / 0.6703 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1641, allocations: 126.7 kB / 0.6704 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1643, allocations: 149.1 kB / 0.6706 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1643, allocations: 25.7 kB / 0.6706 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1644, allocations: 88.12 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-06/0.1644, allocations: 3.938 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1644, allocations: 21.72 kB / 0.6707 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1645, allocations: 326.8 kB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.1646, allocations: 4 kB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.1646, allocations: 0 / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.1646, allocations: 16.86 kB / 0.671 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1646, allocations: 0 / 0.671 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.1648, allocations: 49.58 kB / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1648, allocations: 4 kB / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.1648, allocations: 7.984 kB / 0.6711 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1648, allocations: 8.047 kB / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1648, allocations: 0 / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1649, allocations: 0 / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.1649, allocations: 4 kB / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1649, allocations: 0 / 0.6711 GB, free: 14.31 MB / 0.5137 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.0001016/0.165, allocations: 189.1 kB / 0.6713 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.1651, allocations: 117 kB / 0.6714 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.1651, allocations: 116.8 kB / 0.6715 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/0.1652, allocations: 176.3 kB / 0.6717 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.514e-05/0.1653, allocations: 176.3 kB / 0.6719 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.577e-05/0.1653, allocations: 188.2 kB / 0.672 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1656, allocations: 413.2 kB / 0.6724 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.497e-05/0.1656, allocations: 104.9 kB / 0.6725 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1657, allocations: 105 kB / 0.6726 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.1657, allocations: 184.2 kB / 0.6728 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.1658, allocations: 184.2 kB / 0.673 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.15e-05/0.1659, allocations: 176.3 kB / 0.6731 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.385e-05/0.166, allocations: 180.2 kB / 0.6733 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1661, allocations: 315.7 kB / 0.6736 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.1662, allocations: 186 kB / 0.6738 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.1663, allocations: 180.3 kB / 0.674 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1664, allocations: 112.9 kB / 0.6741 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.1664, allocations: 176.3 kB / 0.6742 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.1665, allocations: 112.9 kB / 0.6744 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.1665, allocations: 103.2 kB / 0.6744 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.493e-06/0.1665, allocations: 4 kB / 0.6745 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007527/0.1673, allocations: 283 kB / 0.6747 GB, free: 10.38 MB / 0.5137 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.001353/0.1687, allocations: 1.156 MB / 0.6759 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1688, allocations: 41.64 kB / 0.6759 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1688, allocations: 0 / 0.6759 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1688, allocations: 0 / 0.6759 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1692, allocations: 465.8 kB / 0.6763 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1706, allocations: 1.579 MB / 0.6779 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1709, allocations: 0.6807 MB / 0.6785 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.1709, allocations: 3.938 kB / 0.6785 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1709, allocations: 15.44 kB / 0.6786 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1709, allocations: 0 / 0.6786 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.1976, allocations: 6.844 MB / 0.6852 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/7.981, allocations: 22.72 kB / 0.6853 GB, free: 15.64 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)