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.001235/0.001235, allocations: 108 kB / 15.61 MB, free: 152 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.001326/0.001326, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 64.05 kB / 0.5055 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1869, allocations: 80.93 MB / 0.5845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002866/0.1898, allocations: 1.42 MB / 0.5859 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.1941, allocations: 2.823 MB / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.1942, allocations: 3.938 kB / 0.5887 GB, free: 124 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.1943, allocations: 3.938 kB / 0.5887 GB, free: 120 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.1943, allocations: 11.86 kB / 0.5887 GB, free: 108 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.1986, allocations: 1.552 MB / 0.5902 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.427e-05/0.1987, allocations: 43.69 kB / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1987, allocations: 7.922 kB / 0.5903 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.1988, allocations: 15.94 kB / 0.5903 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.1988, allocations: 15.94 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1988, allocations: 4 kB / 0.5903 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.2013, allocations: 1.416 MB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2014, allocations: 7.938 kB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.2014, allocations: 19.86 kB / 0.5917 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.2035, allocations: 1.064 MB / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2035, allocations: 0 / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2035, allocations: 0 / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2036, allocations: 0 / 0.5927 GB, free: 11.98 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.0008929/0.2045, allocations: 0.5185 MB / 0.5933 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.2045, allocations: 8.75 kB / 0.5933 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.2046, allocations: 106 kB / 0.5934 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.2047, allocations: 84.12 kB / 0.5934 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.2049, allocations: 255.5 kB / 0.5937 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.2049, allocations: 154.7 kB / 0.5938 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.205, allocations: 158.5 kB / 0.594 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.2051, allocations: 105 kB / 0.5941 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.2052, allocations: 75.28 kB / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.2052, allocations: 158.6 kB / 0.5943 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/0.2053, allocations: 150.6 kB / 0.5945 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.2053, allocations: 150.6 kB / 0.5946 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.2057, allocations: 465.9 kB / 0.595 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.629e-05/0.2058, allocations: 173 kB / 0.5952 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.2058, allocations: 80.14 kB / 0.5953 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.2059, allocations: 79.27 kB / 0.5954 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.2059, allocations: 109.8 kB / 0.5955 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2059, allocations: 4 kB / 0.5955 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.335e-05/0.206, allocations: 37.59 kB / 0.5955 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.2061, allocations: 130.7 kB / 0.5956 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2062, allocations: 128 kB / 0.5958 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2063, allocations: 29.7 kB / 0.5958 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.2063, allocations: 92.12 kB / 0.5959 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.2063, allocations: 0 / 0.5959 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.2064, allocations: 17.72 kB / 0.5959 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2065, allocations: 322.8 kB / 0.5962 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.2065, allocations: 4 kB / 0.5962 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.2065, allocations: 0 / 0.5962 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.2066, allocations: 20.8 kB / 0.5962 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2066, allocations: 3.938 kB / 0.5962 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001499/0.2067, allocations: 53.53 kB / 0.5963 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2068, allocations: 7.938 kB / 0.5963 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.2068, allocations: 8.062 kB / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2068, allocations: 0 / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.2068, allocations: 0 / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2068, allocations: 0 / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.2069, allocations: 7.938 kB / 0.5963 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2069, allocations: 0 / 0.5963 GB, free: 8.105 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.0001243/0.207, allocations: 188.3 kB / 0.5965 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.2071, allocations: 112.9 kB / 0.5966 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.2071, allocations: 112.8 kB / 0.5967 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/0.2072, allocations: 184.3 kB / 0.5969 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.807e-05/0.2073, allocations: 176.3 kB / 0.597 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-05/0.2074, allocations: 184.2 kB / 0.5972 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.2076, allocations: 413.2 kB / 0.5976 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.464e-05/0.2077, allocations: 108.9 kB / 0.5977 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.2077, allocations: 109 kB / 0.5978 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.381e-05/0.2078, allocations: 180.3 kB / 0.598 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.2079, allocations: 184.2 kB / 0.5982 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.709e-05/0.208, allocations: 176.3 kB / 0.5983 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-05/0.208, allocations: 180.2 kB / 0.5985 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.2082, allocations: 319.7 kB / 0.5988 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.2083, allocations: 186 kB / 0.599 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.2084, allocations: 176.3 kB / 0.5991 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.2085, allocations: 108.9 kB / 0.5993 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.2086, allocations: 180.3 kB / 0.5994 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.2087, allocations: 108.9 kB / 0.5995 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.2087, allocations: 101.4 kB / 0.5996 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.2087, allocations: 0 / 0.5996 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009631/0.2097, allocations: 275.8 kB / 0.5999 GB, free: 4.199 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.001608/0.2113, allocations: 1.153 MB / 0.601 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.2114, allocations: 37.7 kB / 0.601 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.2115, allocations: 0 / 0.601 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.2115, allocations: 7.938 kB / 0.6011 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.2119, allocations: 471.7 kB / 0.6015 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2134, allocations: 1.576 MB / 0.603 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2137, allocations: 0.6846 MB / 0.6037 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.2137, allocations: 4.031 kB / 0.6037 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.2137, allocations: 19.44 kB / 0.6037 GB, free: 120 kB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.2137, allocations: 0 / 0.6037 GB, free: 120 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/0.5198, allocations: 6.83 MB / 0.6104 GB, free: 51.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.436, allocations: 7.188 kB / 0.6104 GB, free: 51.82 MB / 0.4981 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)