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_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-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_OneUTube,fileNamePrefix="IDEAS_dev_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_dev_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.00142/0.00142, 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.001549/0.001549, allocations: 197 kB / 16.53 MB, free: 6.664 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 64.22 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1442, allocations: 80.94 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002255/0.1465, allocations: 1.359 MB / 0.5859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1489, allocations: 1.78 MB / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.149, allocations: 0 / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.1491, allocations: 11.92 kB / 0.5876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1492, allocations: 23.92 kB / 0.5876 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1515, allocations: 1.146 MB / 0.5888 GB, free: 96 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.69e-05/0.1516, allocations: 51.77 kB / 0.5888 GB, free: 44 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1516, allocations: 0 / 0.5888 GB, free: 44 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.1517, allocations: 27.84 kB / 0.5888 GB, free: 16 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1518, allocations: 24.05 kB / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1518, allocations: 3.938 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1529, allocations: 0.8539 MB / 0.5897 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1529, allocations: 27.92 kB / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.153, allocations: 27.8 kB / 0.5897 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009563/0.1539, allocations: 0.7916 MB / 0.5905 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.154, allocations: 4 kB / 0.5905 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.154, allocations: 0 / 0.5905 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.154, allocations: 0 / 0.5905 GB, free: 14.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005276/0.1545, allocations: 482.8 kB / 0.591 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1546, allocations: 16.73 kB / 0.591 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1546, allocations: 30.75 kB / 0.591 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1546, allocations: 8.844 kB / 0.591 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1548, allocations: 190.1 kB / 0.5912 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1548, allocations: 0 / 0.5912 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.1548, allocations: 0 / 0.5912 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1549, allocations: 53.69 kB / 0.5913 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1549, allocations: 0 / 0.5913 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.155, allocations: 0 / 0.5913 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.155, allocations: 4 kB / 0.5913 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.155, allocations: 31.92 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1552, allocations: 193.5 kB / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.382e-05/0.1553, allocations: 46.56 kB / 0.5915 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.1553, allocations: 28.89 kB / 0.5916 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1553, allocations: 7.969 kB / 0.5916 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1554, allocations: 38.56 kB / 0.5916 GB, free: 13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1554, allocations: 0 / 0.5916 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002001/0.1556, allocations: 125.6 kB / 0.5917 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1556, allocations: 51.41 kB / 0.5918 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1557, allocations: 151.9 kB / 0.5919 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1558, allocations: 33.64 kB / 0.5919 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.1558, allocations: 96.12 kB / 0.592 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1559, allocations: 19.66 kB / 0.5921 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1559, allocations: 25.7 kB / 0.5921 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.156, allocations: 326.8 kB / 0.5924 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.156, allocations: 20 kB / 0.5924 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.1561, allocations: 27.98 kB / 0.5924 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.1561, allocations: 61.14 kB / 0.5925 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1561, allocations: 0 / 0.5925 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.1563, allocations: 101.5 kB / 0.5926 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1563, allocations: 4 kB / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1563, allocations: 0 / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1563, allocations: 0 / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1563, allocations: 12 kB / 0.5926 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1563, allocations: 0 / 0.5926 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.1564, allocations: 7.844 kB / 0.5926 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1564, allocations: 0 / 0.5926 GB, free: 11.89 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 7.716e-05/0.1564, allocations: 121.8 kB / 0.5927 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1565, allocations: 7.906 kB / 0.5927 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.1566, allocations: 106.3 kB / 0.5928 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1566, allocations: 3.984 kB / 0.5928 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1566, allocations: 8.031 kB / 0.5929 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1567, allocations: 7.938 kB / 0.5929 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.1568, allocations: 189.6 kB / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1568, allocations: 4 kB / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1568, allocations: 0 / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1568, allocations: 0 / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1568, allocations: 0 / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1568, allocations: 0 / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1568, allocations: 0 / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1569, allocations: 128.9 kB / 0.5932 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.157, allocations: 85 kB / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.157, allocations: 0 / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.157, allocations: 4 kB / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1571, allocations: 0 / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1571, allocations: 7.875 kB / 0.5933 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.1571, allocations: 120.3 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1572, allocations: 0 / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004823/0.1576, allocations: 199.9 kB / 0.5936 GB, free: 10.82 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.000993/0.1586, allocations: 0.8817 MB / 0.5944 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1588, allocations: 89.67 kB / 0.5945 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1588, allocations: 4 kB / 0.5945 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.1589, allocations: 73.61 kB / 0.5946 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1591, allocations: 21.14 kB / 0.5946 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1605, allocations: 1.598 MB / 0.5962 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1609, allocations: 0.7079 MB / 0.5969 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.1609, allocations: 0 / 0.5969 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.1609, allocations: 27.42 kB / 0.5969 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1609, allocations: 0 / 0.5969 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/1.316, allocations: 5.924 MB / 0.6027 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.03, allocations: 7.766 kB / 0.6027 GB, free: 1.551 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)