Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.008456/0.008456, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.002196/0.002196, allocations: 194.8 kB / 16.68 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.748/0.748, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 67.89 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1431, allocations: 80.22 MB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.00245/0.1456, allocations: 1.326 MB / 0.6605 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1477, allocations: 1.328 MB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.1477, allocations: 4 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.1478, allocations: 11.88 kB / 0.6619 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1479, allocations: 11.92 kB / 0.6619 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1491, allocations: 370.9 kB / 0.6622 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1495, allocations: 376.6 kB / 0.6626 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.1495, allocations: 4.281 kB / 0.6626 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1497, allocations: 115.9 kB / 0.6627 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1499, allocations: 191.7 kB / 0.6629 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.15, allocations: 24 kB / 0.6629 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009325/0.1509, allocations: 495.3 kB / 0.6634 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1511, allocations: 111.8 kB / 0.6635 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1513, allocations: 111.5 kB / 0.6636 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.1521, allocations: 0.5414 MB / 0.6641 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1521, allocations: 3.938 kB / 0.6641 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1521, allocations: 0 / 0.6641 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.1521, allocations: 0 / 0.6641 GB, free: 5.723 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008482/0.153, allocations: 0.5449 MB / 0.6647 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.153, allocations: 12.03 kB / 0.6647 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.1531, allocations: 54.73 kB / 0.6647 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.1532, allocations: 24.8 kB / 0.6647 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1534, allocations: 194.5 kB / 0.6649 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1534, allocations: 12.12 kB / 0.6649 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1535, allocations: 16 kB / 0.665 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.154, allocations: 338.2 kB / 0.6653 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.154, allocations: 0 / 0.6653 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.1541, allocations: 8 kB / 0.6653 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1541, allocations: 4 kB / 0.6653 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.1583, allocations: 2.929 MB / 0.6681 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.1588, allocations: 389.2 kB / 0.6685 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.1596, allocations: 0.4992 MB / 0.669 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.1599, allocations: 236.7 kB / 0.6692 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.1614, allocations: 0.9235 MB / 0.6701 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1615, allocations: 46.5 kB / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.1615, allocations: 0 / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.001274/0.1627, allocations: 0.7593 MB / 0.6709 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1628, allocations: 55.41 kB / 0.671 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1629, allocations: 138.2 kB / 0.6711 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.163, allocations: 29.7 kB / 0.6711 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.163, allocations: 101.1 kB / 0.6712 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.1632, allocations: 158.6 kB / 0.6714 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1633, allocations: 105.7 kB / 0.6715 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1635, allocations: 334.8 kB / 0.6718 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.1638, allocations: 207.8 kB / 0.672 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.1641, allocations: 215.7 kB / 0.6722 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.1649, allocations: 494.5 kB / 0.6727 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1649, allocations: 3.938 kB / 0.6727 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008551/0.1658, allocations: 0.544 MB / 0.6732 GB, free: 12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1658, allocations: 7.984 kB / 0.6732 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1658, allocations: 0 / 0.6732 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1658, allocations: 4 kB / 0.6732 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.1661, allocations: 99.89 kB / 0.6733 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1661, allocations: 0 / 0.6733 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.1662, allocations: 15.89 kB / 0.6733 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.1662, allocations: 24 kB / 0.6734 GB, free: 11.86 MB / 0.5137 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 (43): * Single equations (assignments): 43 * 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 0.0001642/0.1664, allocations: 166.5 kB / 0.6735 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.1665, allocations: 27.86 kB / 0.6735 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.168, allocations: 0.8963 MB / 0.6744 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.168, allocations: 4 kB / 0.6744 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.168, allocations: 4 kB / 0.6744 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.168, allocations: 3.984 kB / 0.6744 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.1685, allocations: 401.2 kB / 0.6748 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1685, allocations: 3.984 kB / 0.6748 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1688, allocations: 91.89 kB / 0.6749 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1688, allocations: 4 kB / 0.6749 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.1688, allocations: 20 kB / 0.6749 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1688, allocations: 4 kB / 0.6749 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1688, allocations: 3.984 kB / 0.6749 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.1697, allocations: 0.5961 MB / 0.6755 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.1698, allocations: 100.9 kB / 0.6756 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.1699, allocations: 12 kB / 0.6756 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.1699, allocations: 4 kB / 0.6756 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.17, allocations: 39.95 kB / 0.6757 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.17, allocations: 20 kB / 0.6757 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.1701, allocations: 117.4 kB / 0.6758 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.533e-06/0.1701, allocations: 0 / 0.6758 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004991/0.1706, allocations: 191.5 kB / 0.676 GB, free: 9.094 MB / 0.5137 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 (44): * Single equations (assignments): 44 * 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.001671/0.1723, allocations: 1.28 MB / 0.6772 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008162/0.1731, allocations: 0.5037 MB / 0.6777 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1731, allocations: 0 / 0.6777 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.1735, allocations: 280.3 kB / 0.678 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1739, allocations: 61.92 kB / 0.678 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1751, allocations: 0.7045 MB / 0.6787 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1754, allocations: 0.7563 MB / 0.6795 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005263/0.176, allocations: 350.7 kB / 0.6798 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.1762, allocations: 87.41 kB / 0.6799 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1762, allocations: 0 / 0.6799 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2026, allocations: 8.098 MB / 0.6878 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.006, allocations: 7.906 kB / 0.6878 GB, free: 13.18 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)