Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.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.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",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.006284/0.006284, allocations: 99.73 kB / 15.73 MB, free: 5.977 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.001331/0.001331, allocations: 197.1 kB / 16.68 MB, free: 5.906 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 135.6 MB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 68.94 kB / 0.5858 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 81.02 MB / 0.6649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002472/0.1512, allocations: 1.312 MB / 0.6662 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1526, allocations: 0.7521 MB / 0.6669 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.1526, allocations: 0 / 0.6669 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.1526, allocations: 3.938 kB / 0.6669 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.1527, allocations: 3.938 kB / 0.6669 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.1532, allocations: 143.6 kB / 0.6671 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.1533, allocations: 15.88 kB / 0.6671 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.1534, allocations: 4 kB / 0.6671 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.1534, allocations: 7.922 kB / 0.6671 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.944e-05/0.1534, allocations: 12 kB / 0.6671 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1534, allocations: 0 / 0.6671 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.1538, allocations: 167.8 kB / 0.6673 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1538, allocations: 7.875 kB / 0.6673 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.1539, allocations: 4 kB / 0.6673 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1541, allocations: 123.9 kB / 0.6674 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1541, allocations: 0 / 0.6674 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1541, allocations: 0 / 0.6674 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1541, allocations: 0 / 0.6674 GB, free: 3.16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004062/0.1545, allocations: 355.2 kB / 0.6677 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1546, allocations: 17.05 kB / 0.6678 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.1546, allocations: 34.73 kB / 0.6678 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1547, allocations: 4.938 kB / 0.6678 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1548, allocations: 168.3 kB / 0.668 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1548, allocations: 4.125 kB / 0.668 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.1548, allocations: 0 / 0.668 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.1549, allocations: 37.64 kB / 0.668 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1549, allocations: 0 / 0.668 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.155, allocations: 0 / 0.668 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.155, allocations: 4 kB / 0.668 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.155, allocations: 11.98 kB / 0.668 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1552, allocations: 153.7 kB / 0.6682 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.396e-05/0.1553, allocations: 22.52 kB / 0.6682 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.1553, allocations: 16.86 kB / 0.6682 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/0.1558, allocations: 137.4 kB / 0.6683 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1559, allocations: 34.5 kB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1559, allocations: 0 / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.156, allocations: 41.7 kB / 0.6684 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1561, allocations: 51.41 kB / 0.6684 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1562, allocations: 110 kB / 0.6686 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1562, allocations: 25.7 kB / 0.6686 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.1562, allocations: 84.14 kB / 0.6687 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1563, allocations: 3.953 kB / 0.6687 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.1563, allocations: 21.7 kB / 0.6687 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1565, allocations: 310.8 kB / 0.669 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.1565, allocations: 0 / 0.669 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.1565, allocations: 4 kB / 0.669 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.1565, allocations: 24.86 kB / 0.669 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1566, allocations: 3.938 kB / 0.669 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.919e-05/0.1566, allocations: 37.69 kB / 0.669 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1566, allocations: 5.875 kB / 0.6691 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1567, allocations: 0 / 0.6691 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1567, allocations: 4 kB / 0.6691 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.153e-05/0.1567, allocations: 0 / 0.6691 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1567, allocations: 4 kB / 0.6691 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.1568, allocations: 3.938 kB / 0.6691 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1568, allocations: 8.031 kB / 0.6691 GB, free: 1.207 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 (2): * Single equations (assignments): 2 * 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.854e-05/0.1569, allocations: 109.8 kB / 0.6692 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.1569, allocations: 7.953 kB / 0.6692 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.157, allocations: 48.75 kB / 0.6692 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.157, allocations: 0 / 0.6692 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.157, allocations: 4 kB / 0.6692 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.157, allocations: 0 / 0.6692 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1571, allocations: 157.6 kB / 0.6694 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1572, allocations: 32 / 0.6694 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.1572, allocations: 8 kB / 0.6694 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1572, allocations: 3.984 kB / 0.6694 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1572, allocations: 0 / 0.6694 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1572, allocations: 0 / 0.6694 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1572, allocations: 0 / 0.6694 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.749e-05/0.1573, allocations: 69.02 kB / 0.6695 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1574, allocations: 77.11 kB / 0.6695 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1574, allocations: 8.016 kB / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-06/0.1574, allocations: 0 / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1574, allocations: 7.984 kB / 0.6696 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1574, allocations: 3.938 kB / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.1575, allocations: 87.53 kB / 0.6696 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1575, allocations: 0 / 0.6696 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002473/0.1577, allocations: 43.8 kB / 0.6697 GB, free: 488 kB / 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 (2): * Single equations (assignments): 2 * 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.0006366/0.1584, allocations: 0.6708 MB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.1585, allocations: 11.94 kB / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1585, allocations: 0 / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.1585, allocations: 4 kB / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1587, allocations: 12.92 kB / 0.6704 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.1591, allocations: 159 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1595, allocations: 0.6768 MB / 0.6712 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.1595, allocations: 4 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1595, allocations: 11.44 kB / 0.6712 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1595, allocations: 0 / 0.6712 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.184, allocations: 2.234 MB / 0.6734 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.203, allocations: 23.19 kB / 0.6734 GB, free: 12.79 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)