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.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,fileNamePrefix="IDEAS_dev_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_dev_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.001436/0.001436, allocations: 112.5 kB / 15.74 MB, free: 68 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.001452/0.001452, allocations: 198 kB / 16.67 MB, free: 6.582 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9805/0.9805, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002659, allocations: 63.89 kB / 0.5858 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3766, allocations: 81.02 MB / 0.6649 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002137/0.3788, allocations: 1.342 MB / 0.6662 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3804, allocations: 1.325 MB / 0.6675 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.3804, allocations: 0 / 0.6675 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.3805, allocations: 4.938 kB / 0.6675 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.3805, allocations: 17.12 kB / 0.6675 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.3813, allocations: 370 kB / 0.6679 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3816, allocations: 376.2 kB / 0.6682 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.3817, allocations: 3.969 kB / 0.6683 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.3818, allocations: 118.8 kB / 0.6684 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3819, allocations: 193.7 kB / 0.6685 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.382, allocations: 21.22 kB / 0.6686 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/0.3827, allocations: 491.9 kB / 0.669 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.3828, allocations: 105.9 kB / 0.6691 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3829, allocations: 120.3 kB / 0.6693 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.3835, allocations: 0.5365 MB / 0.6698 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3835, allocations: 1.219 kB / 0.6698 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3835, allocations: 0 / 0.6698 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3835, allocations: 0 / 0.6698 GB, free: 3.473 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.0005283/0.384, allocations: 0.5448 MB / 0.6703 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3841, allocations: 13.02 kB / 0.6703 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.3841, allocations: 54.83 kB / 0.6704 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.3842, allocations: 22.05 kB / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.3843, allocations: 188.2 kB / 0.6706 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3843, allocations: 19.16 kB / 0.6706 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.3843, allocations: 19.22 kB / 0.6706 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.3848, allocations: 329.4 kB / 0.6709 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3848, allocations: 0 / 0.6709 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.3849, allocations: 5.938 kB / 0.6709 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3849, allocations: 4.062 kB / 0.6709 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/0.3887, allocations: 2.925 MB / 0.6738 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.3891, allocations: 393.8 kB / 0.6742 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.3899, allocations: 0.5073 MB / 0.6747 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.3902, allocations: 240.4 kB / 0.6749 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.3914, allocations: 0.9248 MB / 0.6758 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3915, allocations: 40.66 kB / 0.6758 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.3915, allocations: 0 / 0.6758 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.001432/0.3929, allocations: 0.7607 MB / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.393, allocations: 55.84 kB / 0.6766 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3931, allocations: 144.9 kB / 0.6768 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.3932, allocations: 36.11 kB / 0.6768 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.3932, allocations: 100.3 kB / 0.6769 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3934, allocations: 149.2 kB / 0.677 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3936, allocations: 101 kB / 0.6771 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3937, allocations: 329.5 kB / 0.6775 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.3941, allocations: 208.5 kB / 0.6777 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.3944, allocations: 214.2 kB / 0.6779 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.3952, allocations: 495.8 kB / 0.6783 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3952, allocations: 5.156 kB / 0.6783 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009052/0.3961, allocations: 0.54 MB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3961, allocations: 4.594 kB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3962, allocations: 5.328 kB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3962, allocations: 1.219 kB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.3965, allocations: 96.48 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3965, allocations: 1.969 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.3966, allocations: 24.25 kB / 0.679 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.3966, allocations: 22.47 kB / 0.679 GB, free: 14.07 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.0001674/0.3968, allocations: 170.6 kB / 0.6792 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3968, allocations: 21.36 kB / 0.6792 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.3985, allocations: 0.8965 MB / 0.6801 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3985, allocations: 4.562 kB / 0.6801 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3985, allocations: 0 / 0.6801 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3985, allocations: 5.234 kB / 0.6801 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.399, allocations: 407 kB / 0.6805 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.399, allocations: 0 / 0.6805 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3993, allocations: 101.4 kB / 0.6806 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3993, allocations: 14.14 kB / 0.6806 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.3994, allocations: 21.56 kB / 0.6806 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3994, allocations: 2.625 kB / 0.6806 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3994, allocations: 0 / 0.6806 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.4003, allocations: 0.5956 MB / 0.6812 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.4003, allocations: 99.89 kB / 0.6813 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.4004, allocations: 10.75 kB / 0.6813 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.4004, allocations: 5.344 kB / 0.6813 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.4005, allocations: 43.55 kB / 0.6813 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.4006, allocations: 18.97 kB / 0.6814 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.047e-05/0.4007, allocations: 111.9 kB / 0.6815 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4007, allocations: 0 / 0.6815 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005418/0.4012, allocations: 187.6 kB / 0.6816 GB, free: 12.67 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.001686/0.4029, allocations: 1.286 MB / 0.6829 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008311/0.4038, allocations: 0.5061 MB / 0.6834 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4038, allocations: 0 / 0.6834 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.4042, allocations: 284.4 kB / 0.6837 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.4045, allocations: 49.17 kB / 0.6837 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4056, allocations: 0.7089 MB / 0.6844 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.406, allocations: 0.7565 MB / 0.6851 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005139/0.4065, allocations: 346 kB / 0.6855 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.4067, allocations: 87.09 kB / 0.6856 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4067, allocations: 0 / 0.6856 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.4367, allocations: 8.114 MB / 0.6935 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.775, allocations: 4.656 kB / 0.6935 GB, free: 3.375 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)