Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001082/0.001082, 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.001132/0.001132, allocations: 195.7 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7536/0.7536, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.75 kB / 0.5019 GB, free: 3.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4252, allocations: 80.21 MB / 0.5803 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002471/0.4277, allocations: 1.426 MB / 0.5816 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.4314, allocations: 2.875 MB / 0.5845 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.4315, allocations: 5.125 kB / 0.5845 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.4316, allocations: 10.03 kB / 0.5845 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.4316, allocations: 15.94 kB / 0.5845 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.4355, allocations: 1.563 MB / 0.586 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.4356, allocations: 44.17 kB / 0.5861 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.4356, allocations: 2.859 kB / 0.5861 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.4357, allocations: 14.16 kB / 0.5861 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.94e-05/0.4357, allocations: 17.52 kB / 0.5861 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.4357, allocations: 4.844 kB / 0.5861 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.4381, allocations: 1.456 MB / 0.5875 GB, free: 336 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.4381, allocations: 9.859 kB / 0.5875 GB, free: 328 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.4382, allocations: 17.38 kB / 0.5875 GB, free: 320 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.4398, allocations: 1.1 MB / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4399, allocations: 0 / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4399, allocations: 1.094 kB / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.4399, allocations: 0 / 0.5886 GB, free: 20 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.0006918/0.4406, allocations: 0.5215 MB / 0.5891 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4406, allocations: 9.812 kB / 0.5891 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.4407, allocations: 106.8 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.4407, allocations: 82.78 kB / 0.5893 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4409, allocations: 254 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.4409, allocations: 156.1 kB / 0.5897 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.441, allocations: 150.6 kB / 0.5898 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.733e-05/0.4411, allocations: 111 kB / 0.59 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.4411, allocations: 75.28 kB / 0.59 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.4411, allocations: 154.5 kB / 0.5902 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.4412, allocations: 152.5 kB / 0.5903 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.4412, allocations: 150.6 kB / 0.5905 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.4415, allocations: 470.5 kB / 0.5909 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.4416, allocations: 171.1 kB / 0.5911 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.4416, allocations: 80.14 kB / 0.5912 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4417, allocations: 79.22 kB / 0.5912 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.4417, allocations: 115.9 kB / 0.5913 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4417, allocations: 0 / 0.5913 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.386e-05/0.4418, allocations: 33.19 kB / 0.5914 GB, free: 13.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4419, allocations: 130.6 kB / 0.5915 GB, free: 12.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.442, allocations: 130.9 kB / 0.5916 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.442, allocations: 25.7 kB / 0.5916 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.4421, allocations: 96.59 kB / 0.5917 GB, free: 12.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.4421, allocations: 0.875 kB / 0.5917 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.4421, allocations: 24 kB / 0.5918 GB, free: 12.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.4422, allocations: 318.7 kB / 0.5921 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.4423, allocations: 7.969 kB / 0.5921 GB, free: 12.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.4423, allocations: 8.203 kB / 0.5921 GB, free: 12.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.4423, allocations: 19.16 kB / 0.5921 GB, free: 12.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4423, allocations: 0 / 0.5921 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001241/0.4425, allocations: 50.09 kB / 0.5921 GB, free: 12.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4425, allocations: 5.578 kB / 0.5921 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.4425, allocations: 3.719 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4425, allocations: 4.062 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.4425, allocations: 0.75 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4425, allocations: 1 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.4426, allocations: 4.688 kB / 0.5922 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4426, allocations: 2.234 kB / 0.5922 GB, free: 12.35 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 8.701e-05/0.4427, allocations: 188 kB / 0.5923 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.4427, allocations: 111.5 kB / 0.5924 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.4428, allocations: 116.5 kB / 0.5926 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/0.4429, allocations: 182.7 kB / 0.5927 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/0.4429, allocations: 181.6 kB / 0.5929 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/0.443, allocations: 181.6 kB / 0.5931 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4432, allocations: 421.5 kB / 0.5935 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.4432, allocations: 102.5 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.4433, allocations: 110.2 kB / 0.5937 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.861e-05/0.4433, allocations: 178.1 kB / 0.5939 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/0.4434, allocations: 178.4 kB / 0.594 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.152e-05/0.4434, allocations: 186.2 kB / 0.5942 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.475e-05/0.4435, allocations: 182.1 kB / 0.5944 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.4436, allocations: 314 kB / 0.5947 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.4437, allocations: 189.6 kB / 0.5949 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.4438, allocations: 183.3 kB / 0.595 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.4439, allocations: 102.8 kB / 0.5951 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.4439, allocations: 184.7 kB / 0.5953 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.444, allocations: 106.5 kB / 0.5954 GB, free: 8.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.444, allocations: 104.5 kB / 0.5955 GB, free: 8.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.444, allocations: 0 / 0.5955 GB, free: 8.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009019/0.4449, allocations: 273.7 kB / 0.5958 GB, free: 8.715 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.001385/0.4463, allocations: 1.177 MB / 0.5969 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.4464, allocations: 39.67 kB / 0.597 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4464, allocations: 0 / 0.597 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.4465, allocations: 5.25 kB / 0.597 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4468, allocations: 470.4 kB / 0.5974 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.4482, allocations: 1.584 MB / 0.599 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4484, allocations: 0.686 MB / 0.5996 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.719e-05/0.4485, allocations: 4.547 kB / 0.5996 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.4485, allocations: 15.23 kB / 0.5996 GB, free: 5.148 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4485, allocations: 0 / 0.5996 GB, free: 5.148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.4753, allocations: 7.046 MB / 0.6065 GB, free: 1.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.086, allocations: 17.28 kB / 0.6065 GB, free: 1.898 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)