Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_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_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.007888/0.007888, allocations: 101.1 kB / 15.73 MB, free: 6.055 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.002056/0.002056, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8407/0.8407, allocations: 132.2 MB / 422.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.00262, allocations: 58.62 kB / 0.5809 GB, free: 24.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1623, allocations: 80.22 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002514/0.1649, allocations: 1.316 MB / 0.6605 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1662, allocations: 0.752 MB / 0.6613 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1663, allocations: 0 / 0.6613 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1663, allocations: 4 kB / 0.6613 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.1664, allocations: 3.938 kB / 0.6613 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.1669, allocations: 143.5 kB / 0.6614 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.167, allocations: 19.94 kB / 0.6614 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.167, allocations: 3.984 kB / 0.6614 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.1671, allocations: 7.938 kB / 0.6614 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.1671, allocations: 7.938 kB / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1671, allocations: 0 / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.1675, allocations: 175.7 kB / 0.6616 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1675, allocations: 3.938 kB / 0.6616 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.1676, allocations: 7.984 kB / 0.6616 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1678, allocations: 115.9 kB / 0.6617 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1678, allocations: 0 / 0.6617 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1678, allocations: 4 kB / 0.6617 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1678, allocations: 4 kB / 0.6617 GB, free: 8.246 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.0004191/0.1682, allocations: 351.2 kB / 0.6621 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1683, allocations: 12.02 kB / 0.6621 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1683, allocations: 38.69 kB / 0.6621 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.1684, allocations: 4.875 kB / 0.6621 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.1685, allocations: 168.3 kB / 0.6623 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1686, allocations: 8.125 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.1686, allocations: 0 / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.1687, allocations: 37.7 kB / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1687, allocations: 7.969 kB / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.1687, allocations: 0 / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1687, allocations: 0 / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.1687, allocations: 4 kB / 0.6623 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.1689, allocations: 153.7 kB / 0.6625 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.169, allocations: 26.48 kB / 0.6625 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.169, allocations: 16.92 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/0.1696, allocations: 131.9 kB / 0.6627 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1696, allocations: 30.56 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1696, allocations: 4 kB / 0.6627 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.1697, allocations: 41.7 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1698, allocations: 59.33 kB / 0.6628 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.1699, allocations: 97.86 kB / 0.6629 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1699, allocations: 29.7 kB / 0.6629 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.17, allocations: 80.14 kB / 0.663 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.17, allocations: 7.938 kB / 0.663 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.17, allocations: 13.72 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1702, allocations: 319 kB / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.1702, allocations: 4 kB / 0.6633 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/0.1702, allocations: 0 / 0.6633 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.1702, allocations: 16.86 kB / 0.6633 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1703, allocations: 3.938 kB / 0.6633 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.957e-05/0.1703, allocations: 41.88 kB / 0.6634 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1704, allocations: 9.406 kB / 0.6634 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1704, allocations: 0 / 0.6634 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1704, allocations: 12.03 kB / 0.6634 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.1704, allocations: 4 kB / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1704, allocations: 0 / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.1705, allocations: 0 / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1705, allocations: 0 / 0.6634 GB, free: 6.301 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 8.913e-05/0.1706, allocations: 121.7 kB / 0.6635 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.1706, allocations: 7.938 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.786e-05/0.1707, allocations: 44.83 kB / 0.6636 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1707, allocations: 4.031 kB / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1707, allocations: 0 / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1707, allocations: 0 / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1708, allocations: 153.6 kB / 0.6637 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1709, allocations: 0 / 0.6637 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.1709, allocations: 11.92 kB / 0.6637 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1709, allocations: 0 / 0.6637 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1709, allocations: 4 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1709, allocations: 0 / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1709, allocations: 4 kB / 0.6637 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.343e-05/0.171, allocations: 65.08 kB / 0.6638 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1711, allocations: 81.09 kB / 0.6639 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1711, allocations: 4 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-06/0.1711, allocations: 0 / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1711, allocations: 0 / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1711, allocations: 0 / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.1712, allocations: 79.28 kB / 0.664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1712, allocations: 0 / 0.664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1714, allocations: 55.83 kB / 0.664 GB, free: 5.57 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 (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.0005936/0.172, allocations: 0.6668 MB / 0.6647 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.1721, allocations: 12 kB / 0.6647 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1721, allocations: 4.094 kB / 0.6647 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.1722, allocations: 7.938 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1724, allocations: 12.17 kB / 0.6647 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.1728, allocations: 160.8 kB / 0.6648 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1731, allocations: 0.6807 MB / 0.6655 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.1732, allocations: 3.25 kB / 0.6655 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.1732, allocations: 11.44 kB / 0.6655 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1732, allocations: 4.062 kB / 0.6655 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.1966, allocations: 2.219 MB / 0.6677 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.239, allocations: 15.67 kB / 0.6677 GB, free: 1.898 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)