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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001202/0.001202, 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.001364/0.001364, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 72.7 kB / 0.5055 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, 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.MultipoleThermalResistances_TwoUTube): time 0.00224/0.1211, allocations: 1.37 MB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1235, allocations: 1.784 MB / 0.5876 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1235, allocations: 0 / 0.5876 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.238e-05/0.1236, allocations: 7.922 kB / 0.5876 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1238, allocations: 35.83 kB / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.126, allocations: 1.138 MB / 0.5888 GB, free: 60 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.1261, allocations: 55.7 kB / 0.5888 GB, free: 4 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.1262, allocations: 4 kB / 0.5888 GB, free: 0 / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.1263, allocations: 28 kB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.1263, allocations: 31.75 kB / 0.5889 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1263, allocations: 4 kB / 0.5889 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009872/0.1273, allocations: 0.8501 MB / 0.5897 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.1274, allocations: 63.81 kB / 0.5898 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1275, allocations: 67.38 kB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.1283, allocations: 0.8771 MB / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1283, allocations: 0 / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1283, allocations: 0 / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1283, allocations: 4 kB / 0.5907 GB, free: 14.07 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005248/0.1289, allocations: 0.58 MB / 0.5913 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1289, allocations: 8.75 kB / 0.5913 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.129, allocations: 42.73 kB / 0.5913 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.129, allocations: 28.56 kB / 0.5913 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1292, allocations: 222.7 kB / 0.5915 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1292, allocations: 4.125 kB / 0.5916 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.1292, allocations: 3.984 kB / 0.5916 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1293, allocations: 111 kB / 0.5917 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1293, allocations: 0 / 0.5917 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.1293, allocations: 7.938 kB / 0.5917 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1293, allocations: 0 / 0.5917 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1294, allocations: 79.91 kB / 0.5917 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.1296, allocations: 277.9 kB / 0.592 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.1297, allocations: 118.5 kB / 0.5921 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.206e-05/0.1298, allocations: 108.9 kB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1298, allocations: 0 / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.1298, allocations: 34.56 kB / 0.5923 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 9.22e-07/0.1299, allocations: 4 kB / 0.5923 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003165/0.1302, allocations: 345.7 kB / 0.5926 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.1302, allocations: 51.41 kB / 0.5926 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.1304, allocations: 257 kB / 0.5929 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.1304, allocations: 25.7 kB / 0.5929 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.1305, allocations: 128.7 kB / 0.593 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.1306, allocations: 102.4 kB / 0.5931 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1306, allocations: 29.73 kB / 0.5932 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.1307, allocations: 342.8 kB / 0.5935 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.1308, allocations: 75.97 kB / 0.5936 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.1308, allocations: 71.98 kB / 0.5936 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.131, allocations: 201.8 kB / 0.5938 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.131, allocations: 4 kB / 0.5938 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00019/0.1312, allocations: 221.3 kB / 0.594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1312, allocations: 8 kB / 0.594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1312, allocations: 0 / 0.594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1312, allocations: 4.062 kB / 0.594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.1312, allocations: 0 / 0.594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1312, allocations: 0 / 0.594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1313, allocations: 11.84 kB / 0.5941 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1313, allocations: 0 / 0.5941 GB, free: 10.39 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.0001009/0.1314, allocations: 169 kB / 0.5942 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.1314, allocations: 23.62 kB / 0.5942 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.1317, allocations: 264.2 kB / 0.5945 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1317, allocations: 4 kB / 0.5945 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1317, allocations: 4 kB / 0.5945 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-06/0.1317, allocations: 0 / 0.5945 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1319, allocations: 281.8 kB / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1319, allocations: 0 / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1319, allocations: 0 / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1319, allocations: 0 / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.1319, allocations: 0 / 0.5948 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1319, allocations: 4 kB / 0.5948 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1319, allocations: 4.031 kB / 0.5948 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1321, allocations: 268.5 kB / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.1322, allocations: 100.8 kB / 0.5951 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1322, allocations: 4 kB / 0.5951 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.1322, allocations: 0 / 0.5951 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.1322, allocations: 0 / 0.5951 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1322, allocations: 3.938 kB / 0.5951 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001329/0.1324, allocations: 196.5 kB / 0.5953 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1324, allocations: 0 / 0.5953 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004202/0.1328, allocations: 211.9 kB / 0.5955 GB, free: 8.785 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 (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 Backend phase and start with SimCode phase: time 0.0008785/0.1337, allocations: 1.018 MB / 0.5965 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1339, allocations: 261.6 kB / 0.5968 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1339, allocations: 64 / 0.5968 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1341, allocations: 185.6 kB / 0.597 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1343, allocations: 20.53 kB / 0.597 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1362, allocations: 2.547 MB / 0.5995 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1365, allocations: 0.767 MB / 0.6002 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.1365, allocations: 11.98 kB / 0.6002 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.1365, allocations: 57.47 kB / 0.6003 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1365, allocations: 0 / 0.6003 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.56/1.697, allocations: 7.633 MB / 0.6077 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.46, allocations: 9.078 kB / 0.6077 GB, free: 49.41 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)