Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.01116/0.01116, allocations: 101 kB / 15.73 MB, free: 6.059 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.002612/0.002612, allocations: 194.4 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 2.43/2.43, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.394/1.394, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 70.83 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3106, allocations: 80.21 MB / 0.6593 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.006108/0.3168, allocations: 1.417 MB / 0.6607 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008648/0.3256, allocations: 2.833 MB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.3258, allocations: 0 / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.3258, allocations: 7.922 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.326, allocations: 7.875 kB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007361/0.3334, allocations: 1.557 MB / 0.665 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3336, allocations: 47.67 kB / 0.665 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.3337, allocations: 7.922 kB / 0.665 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.3338, allocations: 15.92 kB / 0.665 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.3338, allocations: 11.94 kB / 0.665 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3338, allocations: 0 / 0.665 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.3381, allocations: 1.482 MB / 0.6665 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.3382, allocations: 11.92 kB / 0.6665 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.3383, allocations: 23.88 kB / 0.6665 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.3413, allocations: 1.072 MB / 0.6676 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3413, allocations: 0 / 0.6676 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3413, allocations: 0 / 0.6676 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3413, allocations: 0 / 0.6676 GB, free: 2.215 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.001149/0.3425, allocations: 0.5246 MB / 0.6681 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.3426, allocations: 12.03 kB / 0.6681 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.948e-05/0.3427, allocations: 106 kB / 0.6682 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3428, allocations: 80.22 kB / 0.6683 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.3431, allocations: 261.1 kB / 0.6685 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.3432, allocations: 154.5 kB / 0.6687 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3433, allocations: 150.6 kB / 0.6688 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3434, allocations: 108.9 kB / 0.6689 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.3435, allocations: 75.28 kB / 0.669 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.3436, allocations: 154.6 kB / 0.6691 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/0.3437, allocations: 150.6 kB / 0.6693 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.3438, allocations: 154.6 kB / 0.6694 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.3444, allocations: 461.9 kB / 0.6699 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3445, allocations: 177.1 kB / 0.67 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.3446, allocations: 84.14 kB / 0.6701 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.3446, allocations: 79.22 kB / 0.6702 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.3447, allocations: 105.8 kB / 0.6703 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.3447, allocations: 0 / 0.6703 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001218/0.3449, allocations: 29.7 kB / 0.6703 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.345, allocations: 134.7 kB / 0.6704 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3453, allocations: 143.8 kB / 0.6706 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3453, allocations: 25.7 kB / 0.6706 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.3454, allocations: 88.14 kB / 0.6707 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.3454, allocations: 0 / 0.6707 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3455, allocations: 17.72 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.3457, allocations: 322.8 kB / 0.671 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.3457, allocations: 7.938 kB / 0.671 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.3458, allocations: 8 kB / 0.671 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.3458, allocations: 8.859 kB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3458, allocations: 0 / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001972/0.3461, allocations: 57.67 kB / 0.6711 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3461, allocations: 4 kB / 0.6711 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.3461, allocations: 4 kB / 0.6711 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3462, allocations: 3.938 kB / 0.6711 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.3462, allocations: 0 / 0.6711 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3462, allocations: 0 / 0.6711 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.3462, allocations: 0 / 0.6711 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3462, allocations: 4.062 kB / 0.6711 GB, free: 14.34 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.0001646/0.3464, allocations: 193 kB / 0.6713 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.3465, allocations: 117 kB / 0.6714 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.726e-05/0.3466, allocations: 108.8 kB / 0.6715 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.3467, allocations: 180.3 kB / 0.6717 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.3468, allocations: 176.3 kB / 0.6718 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/0.347, allocations: 188.2 kB / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.3474, allocations: 417.2 kB / 0.6724 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.884e-05/0.3474, allocations: 104.9 kB / 0.6725 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.3475, allocations: 101 kB / 0.6726 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.3476, allocations: 180.3 kB / 0.6728 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.3478, allocations: 192.2 kB / 0.673 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.141e-05/0.3479, allocations: 176.3 kB / 0.6731 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001241/0.348, allocations: 184.2 kB / 0.6733 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3482, allocations: 303.8 kB / 0.6736 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3484, allocations: 194 kB / 0.6738 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.3485, allocations: 180.3 kB / 0.674 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3487, allocations: 108.9 kB / 0.6741 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.3488, allocations: 180.3 kB / 0.6742 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.3488, allocations: 105 kB / 0.6743 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001072/0.349, allocations: 105.1 kB / 0.6744 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.176e-06/0.349, allocations: 0 / 0.6744 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001302/0.3503, allocations: 287 kB / 0.6747 GB, free: 10.41 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.002316/0.3526, allocations: 1.165 MB / 0.6759 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.3528, allocations: 37.7 kB / 0.6759 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3528, allocations: 0 / 0.6759 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.3528, allocations: 3.938 kB / 0.6759 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.3535, allocations: 466.2 kB / 0.6763 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3558, allocations: 1.569 MB / 0.6779 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3563, allocations: 0.6884 MB / 0.6785 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.3563, allocations: 4 kB / 0.6785 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.3564, allocations: 17.16 kB / 0.6786 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of SimCode: time 1.764e-06/0.3564, allocations: 0 / 0.6786 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.404, allocations: 6.838 MB / 0.6852 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.24, allocations: 6.156 kB / 0.6852 GB, free: 15.7 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)