Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_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.001725/0.001725, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7479/0.7479, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.16 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3865, allocations: 80.21 MB / 0.5803 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00229/0.3889, allocations: 1.42 MB / 0.5816 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.3924, allocations: 2.879 MB / 0.5845 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.3925, allocations: 0 / 0.5845 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3925, allocations: 6.531 kB / 0.5845 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.3926, allocations: 19.19 kB / 0.5845 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.396, allocations: 1.567 MB / 0.586 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.3961, allocations: 45.55 kB / 0.5861 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.3962, allocations: 3.75 kB / 0.5861 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.3962, allocations: 16.55 kB / 0.5861 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.3962, allocations: 21.3 kB / 0.5861 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3962, allocations: 1.438 kB / 0.5861 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.3984, allocations: 1.457 MB / 0.5875 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.3985, allocations: 6.094 kB / 0.5875 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.3985, allocations: 24.27 kB / 0.5875 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.4, allocations: 1.088 MB / 0.5886 GB, free: 300 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4001, allocations: 4.719 kB / 0.5886 GB, free: 296 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4001, allocations: 0 / 0.5886 GB, free: 296 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4001, allocations: 0 / 0.5886 GB, free: 296 kB / 430.1 MB 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.0005667/0.4006, allocations: 0.5195 MB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4007, allocations: 12.62 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.4007, allocations: 106 kB / 0.5892 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.4008, allocations: 83.22 kB / 0.5893 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.401, allocations: 264.1 kB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.401, allocations: 159.7 kB / 0.5897 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.4011, allocations: 151.4 kB / 0.5899 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.27e-05/0.4011, allocations: 102 kB / 0.59 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.4012, allocations: 75.28 kB / 0.59 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.4012, allocations: 151.7 kB / 0.5902 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.4013, allocations: 155.2 kB / 0.5903 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.4013, allocations: 156 kB / 0.5905 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.4016, allocations: 461.8 kB / 0.5909 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.889e-05/0.4017, allocations: 174.6 kB / 0.5911 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.4018, allocations: 84.84 kB / 0.5912 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.4018, allocations: 75.28 kB / 0.5912 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.4018, allocations: 111.7 kB / 0.5913 GB, free: 13.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4018, allocations: 0 / 0.5913 GB, free: 13.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.4019, allocations: 32.42 kB / 0.5914 GB, free: 13.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.402, allocations: 128.5 kB / 0.5915 GB, free: 13.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.4021, allocations: 135 kB / 0.5916 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4021, allocations: 30.55 kB / 0.5916 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.4022, allocations: 89 kB / 0.5917 GB, free: 13.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.4022, allocations: 0 / 0.5917 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.4022, allocations: 19.58 kB / 0.5918 GB, free: 13.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4024, allocations: 319.7 kB / 0.5921 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.4024, allocations: 4 kB / 0.5921 GB, free: 12.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.4024, allocations: 3.266 kB / 0.5921 GB, free: 12.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.4025, allocations: 23.34 kB / 0.5921 GB, free: 12.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4025, allocations: 4.828 kB / 0.5921 GB, free: 12.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001239/0.4026, allocations: 49.45 kB / 0.5921 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4026, allocations: 5.344 kB / 0.5921 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4026, allocations: 3.781 kB / 0.5921 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4027, allocations: 4.969 kB / 0.5922 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.4027, allocations: 4.656 kB / 0.5922 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4027, allocations: 4.672 kB / 0.5922 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.4027, allocations: 5.219 kB / 0.5922 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.4027, allocations: 1.625 kB / 0.5922 GB, free: 12.62 MB / 446.1 MB 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 9.336e-05/0.4028, allocations: 195.7 kB / 0.5924 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.4029, allocations: 113 kB / 0.5925 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.4029, allocations: 107.8 kB / 0.5926 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/0.403, allocations: 182 kB / 0.5927 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.09e-05/0.4031, allocations: 182.5 kB / 0.5929 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/0.4031, allocations: 189.7 kB / 0.5931 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.4034, allocations: 417.2 kB / 0.5935 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/0.4034, allocations: 103.1 kB / 0.5936 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.4034, allocations: 106.6 kB / 0.5937 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.924e-05/0.4035, allocations: 181.8 kB / 0.5939 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.4036, allocations: 178.1 kB / 0.594 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-05/0.4036, allocations: 185.7 kB / 0.5942 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.134e-05/0.4037, allocations: 178 kB / 0.5944 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.4038, allocations: 315.1 kB / 0.5947 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.4039, allocations: 184.2 kB / 0.5949 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.404, allocations: 187.4 kB / 0.595 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.4041, allocations: 102.2 kB / 0.5951 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.4041, allocations: 181.6 kB / 0.5953 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.4042, allocations: 107.2 kB / 0.5954 GB, free: 9.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.405e-05/0.4043, allocations: 102.6 kB / 0.5955 GB, free: 9.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4043, allocations: 1.562 kB / 0.5955 GB, free: 9.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008779/0.4051, allocations: 276.9 kB / 0.5958 GB, free: 8.98 MB / 446.1 MB 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.001417/0.4066, allocations: 1.17 MB / 0.5969 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4067, allocations: 43.92 kB / 0.597 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4067, allocations: 0 / 0.597 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.4067, allocations: 1.5 kB / 0.597 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4071, allocations: 464.8 kB / 0.5974 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4086, allocations: 1.595 MB / 0.599 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.4089, allocations: 0.683 MB / 0.5996 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.4089, allocations: 5.141 kB / 0.5996 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.4089, allocations: 22.2 kB / 0.5997 GB, free: 5.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4089, allocations: 0 / 0.5997 GB, free: 5.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.4339, allocations: 7.043 MB / 0.6065 GB, free: 2.184 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.053, allocations: 20.02 kB / 0.6065 GB, free: 2.172 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)