Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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.001158/0.001158, allocations: 104 kB / 15.6 MB, free: 148 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.001229/0.00123, allocations: 195.4 kB / 16.53 MB, free: 6.617 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9884/0.9884, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.66 kB / 0.5055 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 80.92 MB / 0.5845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002425/0.1512, allocations: 1.287 MB / 0.5858 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.1518, allocations: 212.2 kB / 0.586 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1518, allocations: 3.938 kB / 0.586 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.1518, allocations: 3.984 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.152, allocations: 12 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.1523, allocations: 43.83 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.1524, allocations: 39.91 kB / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.1524, allocations: 0 / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.238e-05/0.1525, allocations: 19.97 kB / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.1526, allocations: 19.92 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1526, allocations: 0 / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1527, allocations: 43.91 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.1528, allocations: 19.97 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1528, allocations: 23.8 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.153, allocations: 51.88 kB / 0.5862 GB, free: 2.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.153, allocations: 4 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.153, allocations: 4 kB / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.153, allocations: 0 / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005122/0.1535, allocations: 351.7 kB / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1536, allocations: 8.031 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.1536, allocations: 34.75 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/0.154, allocations: 32.8 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1542, allocations: 176.2 kB / 0.5868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1542, allocations: 4.375 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1542, allocations: 8.375 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1544, allocations: 61.58 kB / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1544, allocations: 0 / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1544, allocations: 0 / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1544, allocations: 0 / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1546, allocations: 63.91 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1548, allocations: 169.7 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.155, allocations: 66.47 kB / 0.5872 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.1551, allocations: 30.62 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1551, allocations: 7.922 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1551, allocations: 38.5 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.1551, allocations: 0 / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003643/0.1555, allocations: 93.64 kB / 0.5873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1556, allocations: 55.41 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.1557, allocations: 113.8 kB / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1557, allocations: 25.7 kB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.1557, allocations: 88.14 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.1558, allocations: 27.64 kB / 0.5876 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1558, allocations: 17.7 kB / 0.5877 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1559, allocations: 318.8 kB / 0.588 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.156, allocations: 15.98 kB / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.1561, allocations: 19.98 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1562, allocations: 49.19 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1562, allocations: 0 / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002216/0.1564, allocations: 81.61 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.1565, allocations: 11.98 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1565, allocations: 0 / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.1565, allocations: 3.938 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1567, allocations: 8 kB / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1567, allocations: 0 / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.1567, allocations: 7.891 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1567, allocations: 7.938 kB / 0.5882 GB, free: 424 kB / 494.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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 7.418e-05/0.1568, allocations: 113.8 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.1569, allocations: 15.92 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1571, allocations: 90.02 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1572, allocations: 7.938 kB / 0.5884 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1572, allocations: 0 / 0.5884 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1572, allocations: 0 / 0.5884 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1573, allocations: 177.5 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1573, allocations: 3.938 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.1574, allocations: 16 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1575, allocations: 0 / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1575, allocations: 7.984 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1575, allocations: 0 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1575, allocations: 4 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1577, allocations: 105.4 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1578, allocations: 88.95 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1578, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.1579, allocations: 3.984 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1579, allocations: 11.94 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1579, allocations: 4 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.158, allocations: 91.33 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002247/0.1582, allocations: 20 kB / 0.5889 GB, free: 15.56 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 (7): * Single equations (assignments): 7 * 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.0005851/0.1588, allocations: 0.6632 MB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.159, allocations: 55.89 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.159, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.1591, allocations: 31.97 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1593, allocations: 26.33 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1608, allocations: 1.347 MB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1611, allocations: 0.6846 MB / 0.5916 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.1612, allocations: 28.42 kB / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.1613, allocations: 23.42 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1613, allocations: 0 / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1808, allocations: 2.266 MB / 0.5939 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.827, allocations: 13.81 kB / 0.5939 GB, free: 10.5 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)