Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001307/0.001307, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001657/0.001657, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.086/2.086, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.171/1.171, allocations: 132.3 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005117, allocations: 12 kB / 0.5034 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6148, allocations: 81.57 MB / 0.583 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002047/0.6169, allocations: 1.075 MB / 0.5841 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.6205, allocations: 1.627 MB / 0.5857 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.6206, allocations: 0 / 0.5857 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.6207, allocations: 11.92 kB / 0.5857 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.6209, allocations: 22.91 kB / 0.5857 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.6243, allocations: 0.9061 MB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.6244, allocations: 30.77 kB / 0.5866 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.6244, allocations: 3.156 kB / 0.5866 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.6245, allocations: 21.03 kB / 0.5866 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.6246, allocations: 24.62 kB / 0.5866 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.6246, allocations: 1.031 kB / 0.5866 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.6262, allocations: 0.6367 MB / 0.5873 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.6263, allocations: 29.03 kB / 0.5873 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.6264, allocations: 34.42 kB / 0.5873 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.6276, allocations: 0.5001 MB / 0.5878 GB, free: 1.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6276, allocations: 0 / 0.5878 GB, free: 1.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6277, allocations: 0.7188 kB / 0.5878 GB, free: 1.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.6277, allocations: 0 / 0.5878 GB, free: 1.277 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007107/0.6284, allocations: 473.3 kB / 0.5883 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.6285, allocations: 10.31 kB / 0.5883 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.6285, allocations: 32.67 kB / 0.5883 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.6286, allocations: 11.02 kB / 0.5883 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.6288, allocations: 179.5 kB / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6288, allocations: 0.6094 kB / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.6289, allocations: 1.031 kB / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.629, allocations: 56.36 kB / 0.5885 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6291, allocations: 0.7812 kB / 0.5885 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6291, allocations: 0 / 0.5885 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.6291, allocations: 6.172 kB / 0.5886 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.6292, allocations: 29.09 kB / 0.5886 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.6295, allocations: 195.9 kB / 0.5888 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.6296, allocations: 46.31 kB / 0.5888 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.6296, allocations: 5.578 kB / 0.5888 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.6296, allocations: 31.84 kB / 0.5888 GB, free: 252 kB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 3.597e-06/0.6297, allocations: 7.938 kB / 0.5889 GB, free: 244 kB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003905/0.6301, allocations: 200 kB / 0.589 GB, free: 100 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.6301, allocations: 52.02 kB / 0.5891 GB, free: 36 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.6304, allocations: 157 kB / 0.5892 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.6304, allocations: 26.33 kB / 0.5893 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.6305, allocations: 94.17 kB / 0.5894 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.6306, allocations: 25.86 kB / 0.5894 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.6306, allocations: 0 / 0.5894 GB, free: 15.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6308, allocations: 326.9 kB / 0.5897 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.6309, allocations: 28.31 kB / 0.5897 GB, free: 15.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.6309, allocations: 20.95 kB / 0.5897 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.631, allocations: 32.33 kB / 0.5898 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6311, allocations: 0 / 0.5898 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.6313, allocations: 103.2 kB / 0.5899 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6313, allocations: 8.25 kB / 0.5899 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.6313, allocations: 0.5625 kB / 0.5899 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6314, allocations: 1.094 kB / 0.5899 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-06/0.6314, allocations: 0 / 0.5899 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6314, allocations: 1.984 kB / 0.5899 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.6315, allocations: 4.062 kB / 0.5899 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6315, allocations: 1.375 kB / 0.5899 GB, free: 15.38 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.0001364/0.6316, allocations: 129.3 kB / 0.59 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.6317, allocations: 8.062 kB / 0.59 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.632, allocations: 109 kB / 0.5901 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.632, allocations: 0 / 0.5901 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.632, allocations: 2.312 kB / 0.5901 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.632, allocations: 0 / 0.5901 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.6323, allocations: 202 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.6323, allocations: 1.938 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.6323, allocations: 0 / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6323, allocations: 1.734 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.6323, allocations: 0 / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.6323, allocations: 0.5312 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6323, allocations: 5.641 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.6326, allocations: 118.2 kB / 0.5904 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.6327, allocations: 88.05 kB / 0.5905 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.6327, allocations: 0 / 0.5905 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.6328, allocations: 1.797 kB / 0.5905 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.6328, allocations: 1.062 kB / 0.5905 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6328, allocations: 5.703 kB / 0.5905 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.633, allocations: 117.6 kB / 0.5906 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.633, allocations: 0 / 0.5906 GB, free: 14.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00116/0.6341, allocations: 207 kB / 0.5908 GB, free: 14.68 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 (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 Backend phase and start with SimCode phase: time 0.001587/0.6358, allocations: 0.8708 MB / 0.5917 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.636, allocations: 91.27 kB / 0.5918 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.636, allocations: 1.094 kB / 0.5918 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.6362, allocations: 76.2 kB / 0.5919 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6364, allocations: 10.73 kB / 0.5919 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.6381, allocations: 0.7726 MB / 0.5926 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.6385, allocations: 0.7151 MB / 0.5933 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.786e-05/0.6385, allocations: 2.547 kB / 0.5933 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.6386, allocations: 22.69 kB / 0.5933 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6386, allocations: 0 / 0.5933 GB, free: 12.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.6817, allocations: 5.682 MB / 0.5989 GB, free: 10.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.682, allocations: 259.2 kB / 0.5991 GB, free: 10.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.6, allocations: 0 / 0.5991 GB, free: 10.54 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) Environment - environmentSimulation: