Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_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_dev_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.006563/0.006564, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001344/0.001344, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8251/0.8251, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 65.94 kB / 0.5852 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1842, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003057/0.1873, allocations: 1.427 MB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.192, allocations: 2.844 MB / 0.6684 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.1921, allocations: 0 / 0.6684 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.1921, allocations: 3.938 kB / 0.6684 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.1922, allocations: 15.84 kB / 0.6684 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.1967, allocations: 1.544 MB / 0.6699 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.983e-05/0.1969, allocations: 43.72 kB / 0.67 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.1969, allocations: 11.88 kB / 0.67 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.1969, allocations: 15.94 kB / 0.67 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.693e-05/0.197, allocations: 11.92 kB / 0.67 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.197, allocations: 4 kB / 0.67 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.1996, allocations: 1.481 MB / 0.6715 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.1996, allocations: 7.922 kB / 0.6715 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.1996, allocations: 15.88 kB / 0.6715 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.2017, allocations: 1.072 MB / 0.6725 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2017, allocations: 0 / 0.6725 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2017, allocations: 0 / 0.6725 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2017, allocations: 4 kB / 0.6725 GB, free: 13.74 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.0007927/0.2025, allocations: 0.5285 MB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2026, allocations: 12.02 kB / 0.6731 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.2026, allocations: 106 kB / 0.6732 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.2027, allocations: 80.22 kB / 0.6732 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2029, allocations: 247.6 kB / 0.6735 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.2029, allocations: 158.5 kB / 0.6736 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.203, allocations: 154.6 kB / 0.6738 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/0.2031, allocations: 108.9 kB / 0.6739 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.2031, allocations: 75.28 kB / 0.6739 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.2032, allocations: 158.5 kB / 0.6741 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.2032, allocations: 150.6 kB / 0.6742 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.2033, allocations: 154.6 kB / 0.6744 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.2036, allocations: 473.8 kB / 0.6748 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.27e-05/0.2037, allocations: 173.1 kB / 0.675 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.2037, allocations: 80.14 kB / 0.6751 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.2038, allocations: 79.28 kB / 0.6752 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.2039, allocations: 109.8 kB / 0.6753 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.2039, allocations: 0 / 0.6753 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.676e-05/0.204, allocations: 29.7 kB / 0.6753 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.204, allocations: 126.7 kB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2042, allocations: 131.5 kB / 0.6755 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2042, allocations: 25.7 kB / 0.6756 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.2043, allocations: 104.1 kB / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.2043, allocations: 0 / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.2043, allocations: 13.72 kB / 0.6757 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2045, allocations: 326.7 kB / 0.676 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.2045, allocations: 3.938 kB / 0.676 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.2045, allocations: 11.98 kB / 0.676 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.2046, allocations: 12.86 kB / 0.676 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2046, allocations: 0 / 0.676 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001774/0.2047, allocations: 41.7 kB / 0.676 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2048, allocations: 9.781 kB / 0.6761 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.2048, allocations: 7.984 kB / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2048, allocations: 0 / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.2048, allocations: 0 / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2048, allocations: 0 / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.2049, allocations: 7.953 kB / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.2049, allocations: 3.938 kB / 0.6761 GB, free: 9.859 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.0001481/0.205, allocations: 186.4 kB / 0.6763 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.2051, allocations: 113 kB / 0.6764 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.2052, allocations: 112.8 kB / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.046e-05/0.2053, allocations: 184.2 kB / 0.6766 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.591e-05/0.2054, allocations: 176.3 kB / 0.6768 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.007e-05/0.2055, allocations: 180.2 kB / 0.677 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.2057, allocations: 421.2 kB / 0.6774 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/0.2058, allocations: 105 kB / 0.6775 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.2058, allocations: 104.9 kB / 0.6776 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.2059, allocations: 180.3 kB / 0.6778 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.206, allocations: 184.2 kB / 0.6779 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.058e-05/0.206, allocations: 176.3 kB / 0.6781 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.967e-05/0.2061, allocations: 180.3 kB / 0.6783 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.2063, allocations: 323.6 kB / 0.6786 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.2064, allocations: 186 kB / 0.6788 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.2065, allocations: 184.2 kB / 0.6789 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.2065, allocations: 109 kB / 0.679 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.2066, allocations: 184.2 kB / 0.6792 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.2067, allocations: 101 kB / 0.6793 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.2067, allocations: 95.27 kB / 0.6794 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2067, allocations: 0 / 0.6794 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009481/0.2077, allocations: 283 kB / 0.6797 GB, free: 5.945 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.001661/0.2094, allocations: 1.159 MB / 0.6808 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2095, allocations: 41.69 kB / 0.6808 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2095, allocations: 0 / 0.6808 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.2095, allocations: 0 / 0.6808 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.2099, allocations: 473.5 kB / 0.6813 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2115, allocations: 1.578 MB / 0.6828 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2118, allocations: 0.6846 MB / 0.6835 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.2118, allocations: 0 / 0.6835 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.2119, allocations: 23.47 kB / 0.6835 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.2119, allocations: 0 / 0.6835 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.2429, allocations: 6.845 MB / 0.6902 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.455, allocations: 18.06 kB / 0.6902 GB, free: 11.19 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)