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.0008792/0.0008842, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009009/0.0009009, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7485/0.7485, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003061, allocations: 12.22 kB / 0.5035 GB, free: 4.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4256, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001667/0.4273, allocations: 1.141 MB / 0.5843 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.4312, allocations: 2.643 MB / 0.5869 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.4313, allocations: 0.8438 kB / 0.5869 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.4313, allocations: 5.766 kB / 0.5869 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.4314, allocations: 11.28 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.4351, allocations: 1.254 MB / 0.5881 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.4352, allocations: 42.97 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.4352, allocations: 3.281 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.4353, allocations: 13.02 kB / 0.5882 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.759e-05/0.4353, allocations: 17.42 kB / 0.5882 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.4353, allocations: 5.062 kB / 0.5882 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.4383, allocations: 1.241 MB / 0.5894 GB, free: 320 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.4383, allocations: 9.438 kB / 0.5894 GB, free: 312 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.4383, allocations: 38.55 kB / 0.5895 GB, free: 272 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.4397, allocations: 0.6892 MB / 0.5902 GB, free: 140 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4398, allocations: 0.5 kB / 0.5902 GB, free: 140 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4398, allocations: 0 / 0.5902 GB, free: 140 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4398, allocations: 0.875 kB / 0.5902 GB, free: 140 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.0006787/0.4405, allocations: 0.517 MB / 0.5907 GB, free: 15.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4405, allocations: 8.688 kB / 0.5907 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.4406, allocations: 105.8 kB / 0.5908 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.4407, allocations: 86.47 kB / 0.5909 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.4408, allocations: 255.6 kB / 0.5911 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.4409, allocations: 158.5 kB / 0.5912 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.441, allocations: 151.6 kB / 0.5914 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.516e-05/0.4411, allocations: 109.7 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.4411, allocations: 76.72 kB / 0.5916 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.4412, allocations: 150.6 kB / 0.5917 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.4412, allocations: 158.5 kB / 0.5919 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.4413, allocations: 152.8 kB / 0.592 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.4416, allocations: 468.7 kB / 0.5925 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.4417, allocations: 170.9 kB / 0.5926 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.4418, allocations: 81.02 kB / 0.5927 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.4418, allocations: 79.28 kB / 0.5928 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.4419, allocations: 111.7 kB / 0.5929 GB, free: 13.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.073e-06/0.4419, allocations: 0 / 0.5929 GB, free: 13.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.956e-05/0.442, allocations: 37.19 kB / 0.5929 GB, free: 13.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.442, allocations: 127.8 kB / 0.593 GB, free: 13.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.4422, allocations: 136.1 kB / 0.5932 GB, free: 12.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.4422, allocations: 25.7 kB / 0.5932 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.4423, allocations: 88.48 kB / 0.5933 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.4423, allocations: 0 / 0.5933 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.4423, allocations: 1.281 kB / 0.5933 GB, free: 12.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4424, allocations: 321.9 kB / 0.5936 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.4424, allocations: 4.094 kB / 0.5936 GB, free: 12.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.4425, allocations: 7.031 kB / 0.5936 GB, free: 12.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.4425, allocations: 5.578 kB / 0.5936 GB, free: 12.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4425, allocations: 0 / 0.5936 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001334/0.4426, allocations: 49.52 kB / 0.5936 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.4427, allocations: 10.53 kB / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.4427, allocations: 2.75 kB / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4427, allocations: 0.8438 kB / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.4427, allocations: 5.438 kB / 0.5937 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4427, allocations: 0 / 0.5937 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.4428, allocations: 5.328 kB / 0.5937 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.4428, allocations: 1.938 kB / 0.5937 GB, free: 12.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4429, allocations: 187.1 kB / 0.5939 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.443, allocations: 108.2 kB / 0.594 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.443, allocations: 116.5 kB / 0.5941 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.691e-05/0.4431, allocations: 181.6 kB / 0.5942 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-05/0.4432, allocations: 182 kB / 0.5944 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.9e-05/0.4433, allocations: 181.8 kB / 0.5946 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.4435, allocations: 413.9 kB / 0.595 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-05/0.4436, allocations: 107.2 kB / 0.5951 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.4436, allocations: 109.5 kB / 0.5952 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.102e-05/0.4437, allocations: 182.3 kB / 0.5954 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.4438, allocations: 182.4 kB / 0.5955 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.143e-05/0.4438, allocations: 181.4 kB / 0.5957 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.801e-05/0.4439, allocations: 181.8 kB / 0.5959 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.444, allocations: 314.3 kB / 0.5962 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.4441, allocations: 190.2 kB / 0.5964 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.4442, allocations: 177.6 kB / 0.5965 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.4443, allocations: 107 kB / 0.5966 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.4444, allocations: 186.6 kB / 0.5968 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.4445, allocations: 114.5 kB / 0.5969 GB, free: 9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.108e-05/0.4445, allocations: 103.8 kB / 0.597 GB, free: 8.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4445, allocations: 0 / 0.597 GB, free: 8.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4457, allocations: 276.5 kB / 0.5973 GB, free: 8.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.447, allocations: 1.132 MB / 0.5984 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.4472, allocations: 39.62 kB / 0.5984 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4472, allocations: 1.125 kB / 0.5984 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.4472, allocations: 3.938 kB / 0.5984 GB, free: 7.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.4476, allocations: 0.524 MB / 0.5989 GB, free: 7.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4487, allocations: 0.695 MB / 0.5996 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.449, allocations: 0.6907 MB / 0.6003 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.377e-05/0.449, allocations: 0 / 0.6003 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.449, allocations: 15.05 kB / 0.6003 GB, free: 6.141 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.449, allocations: 0 / 0.6003 GB, free: 6.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.4723, allocations: 6.821 MB / 0.607 GB, free: 3.398 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.4725, allocations: 257.1 kB / 0.6072 GB, free: 3.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.403, allocations: 0 / 0.6072 GB, free: 3.07 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: